]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
mod_conference: Fix deadlock
authorMarc Olivier Chouinard <mochouinard@moctel.com>
Tue, 12 Oct 2010 20:06:49 +0000 (16:06 -0400)
committerMarc Olivier Chouinard <mochouinard@moctel.com>
Tue, 12 Oct 2010 20:06:49 +0000 (16:06 -0400)
src/mod/applications/mod_conference/mod_conference.c

index ed62da107bd29f049f85211e2d46456c326fab9d..ac57dc0c1545e7f99be5412b4965f214cdc3e9c7 100644 (file)
@@ -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;
                                        }
                                }