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

This commit is contained in:
Brian West 2017-04-20 12:48:49 -05:00
parent c66a012121
commit 6a72e59f01
1 changed files with 4 additions and 0 deletions

View File

@ -765,6 +765,10 @@ static void *SWITCH_THREAD_FUNC read_stream_thread(switch_thread_t *thread, void
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG, "local_stream://%s fully reloaded.\n",source->name);
switch_thread_rwlock_unlock(source->rwlock);
source->full_reload = 0;
source->part_reload = 0;
if (source->timer.interval) {
switch_core_timer_destroy(&source->timer);
}
launch_streams(source->name);
goto done;
}