Made ast_queue_hangup() and ast_queue_hangup_with_cause() lock instead of trylock.
authorRichard Mudgett <rmudgett@digium.com>
Mon, 21 May 2012 22:45:41 +0000 (22:45 +0000)
committerRichard Mudgett <rmudgett@digium.com>
Mon, 21 May 2012 22:45:41 +0000 (22:45 +0000)
commitc857131945b90dbb44754dfc974b0809635acaaa
treeb9ccb1215d0b3d54876e8431d785cf3d957a42a0
parentab4c9f2247d6534ceebba984eac9c8269c8204aa
Made ast_queue_hangup() and ast_queue_hangup_with_cause() lock instead of trylock.

It made no sense to trylock the channel and then unconditionally lock the
channel right after.

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