FS-10987: [mod_conference] fix member deadlock on write failure

This commit is contained in:
Mike Jerris authored and Muteesa Fred committed 2018-07-24 07:21:49 +00:00
1 parent 6483ab8b65
commit 6ccc96a39c
1 file changed
+1
@@ -1534,6 +1534,7 @@ 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_mutex_unlock(member->audio_out_mutex);
switch_mutex_unlock(member->write_mutex);
break;
}
}