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
parent cec0cb3983
commit 4fb0db3e59

View File

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