mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-12 15:45:18 +00:00
The bridge uniqueid is available for softmix destructor.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@390956 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -1083,11 +1083,7 @@ static void softmix_bridge_destroy(struct ast_bridge *bridge)
|
||||
softmix_data->thread = AST_PTHREADT_NULL;
|
||||
ast_mutex_unlock(&softmix_data->lock);
|
||||
if (thread != AST_PTHREADT_NULL) {
|
||||
/*
|
||||
* We cannot use bridge->uniqueid in the message because the
|
||||
* bridge pointer is likely a dummy from a deferred destruction.
|
||||
*/
|
||||
ast_debug(1, "Waiting for mixing thread to die.\n");
|
||||
ast_debug(1, "Bridge %s: Waiting for mixing thread to die.\n", bridge->uniqueid);
|
||||
pthread_join(thread, NULL);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user