FS-10574: fix deadlock on invalid syntax using conference record api
This commit is contained in:
parent
d5b1c328eb
commit
4f7ffc7bfc
|
@ -3397,6 +3397,7 @@ switch_status_t conference_api_sub_record(conference_obj_t *conference, switch_s
|
|||
|
||||
if (!strcmp(path_a, path_b)) {
|
||||
stream->write_function(stream, "-ERR file [%s] is already being used for recording.\n", rec->path);
|
||||
switch_mutex_unlock(conference->flag_mutex);
|
||||
return SWITCH_STATUS_SUCCESS;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue