From 2cbe1989d14b98f1ebdfe5f6367b7dccd4519d5c Mon Sep 17 00:00:00 2001 From: Brian West Date: Mon, 31 Oct 2016 10:38:24 -0500 Subject: [PATCH] FS-9678: Fix FreeSWITCH not shutting down when profiles fails to load and shutdown-on-fail is set to true --- src/switch_core.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/switch_core.c b/src/switch_core.c index d3e6ef7af4..906a318b80 100644 --- a/src/switch_core.c +++ b/src/switch_core.c @@ -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); }