mod_conference: Fix deadlock

This commit is contained in:
Marc Olivier Chouinard 2010-10-12 16:06:49 -04:00
parent 3c4d7f1d48
commit 18131a58a5
1 changed files with 1 additions and 0 deletions

View 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;
}
}