mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-02-08 08:51:50 +00:00
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:
parent
91945cb1de
commit
2cbe1989d1
@ -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);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user