[asterisk-commits] rmudgett: trunk r390956 - /trunk/bridges/bridge_softmix.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Fri Jun 7 21:10:49 CDT 2013
Author: rmudgett
Date: Fri Jun 7 21:10:47 2013
New Revision: 390956
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=390956
Log:
The bridge uniqueid is available for softmix destructor.
Modified:
trunk/bridges/bridge_softmix.c
Modified: trunk/bridges/bridge_softmix.c
URL: http://svnview.digium.com/svn/asterisk/trunk/bridges/bridge_softmix.c?view=diff&rev=390956&r1=390955&r2=390956
==============================================================================
--- trunk/bridges/bridge_softmix.c (original)
+++ trunk/bridges/bridge_softmix.c Fri Jun 7 21:10:47 2013
@@ -1083,11 +1083,7 @@
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);
}
More information about the asterisk-commits
mailing list