FS-7656 skip main file as well as chime file when hup is called during chime

This commit is contained in:
Anthony Minessale 2015-06-24 17:34:34 -05:00
parent 4980389bc0
commit f107ea54a8
1 changed files with 3 additions and 3 deletions

View File

@ -358,10 +358,10 @@ static void *SWITCH_THREAD_FUNC read_stream_thread(switch_thread_t *thread, void
flush_video_queue(source->video_q);
if (use_fh == &source->chime_fh) {
source->chime_counter = source->rate * source->chime_freq;
use_fh = &fh;
goto retry;
//switch_core_file_close(&fh);
switch_core_file_close(&fh);
use_fh = &fh;
}
goto retry;
}
}