mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-06-05 04:35:46 +00:00
FS-10169: [mod_local_stream] When using local stream commands FreeSWITCH locks up #resolve
This commit is contained in:
parent
35d44c3fec
commit
740f07463d
@ -1432,6 +1432,7 @@ SWITCH_STANDARD_API(local_stream_function)
|
|||||||
if ((source = get_source(local_stream_name))) {
|
if ((source = get_source(local_stream_name))) {
|
||||||
source->full_reload = 1;
|
source->full_reload = 1;
|
||||||
source->part_reload = 1;
|
source->part_reload = 1;
|
||||||
|
source->hup = 1;
|
||||||
stream->write_function(stream, "+OK");
|
stream->write_function(stream, "+OK");
|
||||||
switch_thread_rwlock_unlock(source->rwlock);
|
switch_thread_rwlock_unlock(source->rwlock);
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user