mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-04 03:50:31 +00:00
Big diet for struct ast_channel
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4399 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -147,7 +147,7 @@ int ast_autoservice_stop(struct ast_channel *chan)
|
||||
pthread_kill(asthread, SIGURG);
|
||||
ast_mutex_unlock(&autolock);
|
||||
/* Wait for it to un-block */
|
||||
while(chan->blocking)
|
||||
while(ast_test_flag(chan, AST_FLAG_BLOCKING))
|
||||
usleep(1000);
|
||||
return res;
|
||||
}
|
||||
|
Reference in New Issue
Block a user