diff --git a/src/switch_core.c b/src/switch_core.c index 843fcc3953..6391d43dd8 100644 --- a/src/switch_core.c +++ b/src/switch_core.c @@ -993,7 +993,6 @@ SWITCH_DECLARE(void) switch_core_runtime_loop(int bg) char path[256] = ""; #endif if (bg) { - bg = 0; #ifdef WIN32 switch_snprintf(path, sizeof(path), "Global\\Freeswitch.%d", getpid()); shutdown_event = CreateEvent(NULL, FALSE, FALSE, path);