Merged revisions 83121 via svnmerge from
authorRussell Bryant <russell@russellbryant.com>
Wed, 19 Sep 2007 15:11:12 +0000 (15:11 +0000)
committerRussell Bryant <russell@russellbryant.com>
Wed, 19 Sep 2007 15:11:12 +0000 (15:11 +0000)
commitfc1fdac8f226c26059070e4ce92df4aa582ec4c6
treeaded39e77bbae838049cfec09714a7d40eca10bc
parent463c49e345b689e9e0c6e1412d956d56dd21096f
Merged revisions 83121 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r83121 | russell | 2007-09-19 10:10:14 -0500 (Wed, 19 Sep 2007) | 4 lines

Fix up another potential race condition.  Do the loop decrementing use count
on events with the eventq protected from being changed.
(reported on IRC by Ivan)

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@83126 65c4cc65-6c06-0410-ace0-fbb531ad65f3
main/manager.c