FS-9678: Fix FreeSWITCH not shutting down when profiles fails to load and shutdown-on-fail is set to true

This commit is contained in:
Brian West 2016-10-31 10:38:24 -05:00 committed by Mike Jerris
parent 91945cb1de
commit 2cbe1989d1

View File

@ -1186,7 +1186,6 @@ SWITCH_DECLARE(void) switch_core_runtime_loop(int bg)
WaitForSingleObject(shutdown_event, INFINITE); WaitForSingleObject(shutdown_event, INFINITE);
} }
#else #else
runtime.running = 1;
while (runtime.running) { while (runtime.running) {
switch_yield(1000000); switch_yield(1000000);
} }