mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-04-20 02:04:54 +00:00
FS-10574: fix deadlock on invalid syntax using conference record api
This commit is contained in:
parent
febfb385aa
commit
6a73479e7f
@ -2707,6 +2707,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…
x
Reference in New Issue
Block a user