From: Marc Olivier Chouinard Date: Tue, 12 Oct 2010 20:06:49 +0000 (-0400) Subject: mod_conference: Fix deadlock X-Git-Tag: v1.2-rc1~265^2~11^2~209 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=18131a58a54d10b10b5cbc80ab983dcbcffb3021;p=thirdparty%2Ffreeswitch.git mod_conference: Fix deadlock --- diff --git a/src/mod/applications/mod_conference/mod_conference.c b/src/mod/applications/mod_conference/mod_conference.c index ed62da107b..ac57dc0c15 100644 --- a/src/mod/applications/mod_conference/mod_conference.c +++ b/src/mod/applications/mod_conference/mod_conference.c @@ -2582,6 +2582,7 @@ static void conference_loop_output(conference_member_t *member) } if (switch_core_session_write_frame(member->session, &write_frame, SWITCH_IO_FLAG_NONE, 0) != SWITCH_STATUS_SUCCESS) { switch_channel_hangup(channel, SWITCH_CAUSE_DESTINATION_OUT_OF_ORDER); + switch_mutex_unlock(member->audio_out_mutex); break; } }