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 authored and Mike Jerris committed 2016-11-16 11:23:12 -06:00
1 parent 91945cb1de
commit 2cbe1989d1
1 file changed
-1
-1
View File
@@ -1186,7 +1186,6 @@ SWITCH_DECLARE(void) switch_core_runtime_loop(int bg)
WaitForSingleObject(shutdown_event, INFINITE);
}
#else
runtime.running = 1;
while (runtime.running) {
switch_yield(1000000);
}