mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-08 10:58:15 +00:00
More select/poll updates for various applications
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2762 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -594,7 +594,7 @@ int ast_softhangup_nolock(struct ast_channel *chan, int cause)
|
||||
/* Inform channel driver that we need to be hung up, if it cares */
|
||||
chan->_softhangup |= cause;
|
||||
ast_queue_frame(chan, &f);
|
||||
/* Interrupt any select call or such */
|
||||
/* Interrupt any poll call or such */
|
||||
if (chan->blocking)
|
||||
pthread_kill(chan->blocker, SIGURG);
|
||||
return res;
|
||||
|
||||
Reference in New Issue
Block a user