FS-10169: [mod_local_stream] When using local stream commands FreeSWITCH locks up #resolve

This commit is contained in:
Brian West 2017-04-20 09:58:34 -05:00
parent 35d44c3fec
commit 740f07463d
1 changed files with 1 additions and 0 deletions

View File

@ -1432,6 +1432,7 @@ SWITCH_STANDARD_API(local_stream_function)
if ((source = get_source(local_stream_name))) {
source->full_reload = 1;
source->part_reload = 1;
source->hup = 1;
stream->write_function(stream, "+OK");
switch_thread_rwlock_unlock(source->rwlock);
} else {