From 6dd3dcd8d55d028604fa9bbc4878d47e96fb3f65 Mon Sep 17 00:00:00 2001 From: Ludvig Strigeus Date: Sun, 21 Oct 2018 17:38:17 +0200 Subject: [PATCH] Prevent infinite loop if service is running from wrong path --- tunsafe_win32.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/tunsafe_win32.cpp b/tunsafe_win32.cpp index 0503f99..bddd403 100644 --- a/tunsafe_win32.cpp +++ b/tunsafe_win32.cpp @@ -266,8 +266,6 @@ static MyBackendDelegate my_procdel; static void CreateLocalOrRemoteBackend(bool remote) { delete g_backend; - g_first_state_msg = false; - if (!remote) { g_backend = CreateNativeTunsafeBackend(g_backend_delegate); } else {