FS-10987: [mod_conference] fix member deadlock on write failure
This commit is contained in:
parent
6483ab8b65
commit
6ccc96a39c
|
@ -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) {
|
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->audio_out_mutex);
|
||||||
|
switch_mutex_unlock(member->write_mutex);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue