Fix a race condition where the generator can go away
commit0254a67a339a53ba1c9630dd3770416bf4822f66
authorrussell <russell@614ede4d-c843-0410-af14-a771ab80d22e>
Mon, 10 Mar 2008 16:58:57 +0000 (10 16:58 +0000)
committerrussell <russell@614ede4d-c843-0410-af14-a771ab80d22e>
Mon, 10 Mar 2008 16:58:57 +0000 (10 16:58 +0000)
tree71d1e23e7ace8da3ad7e178e846d82cc479ca22c
parent8aff9dabe09df496cc61b0c00ff99b66f046ce5a
Fix a race condition where the generator can go away
(closes issue #12175, reported by edantie, patched by me)

git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@107099 614ede4d-c843-0410-af14-a771ab80d22e
main/channel.c