From 4fb0db3e5951f462c525b7460a24dbab8dfd2d19 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 6296102d41..1a303d2065 100644 --- a/src/switch_core.c +++ b/src/switch_core.c @@ -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); }