fix: restore settings before shutting down proxy

This commit is contained in:
2026-04-11 12:43:47 -03:00
parent 7e6797b6c7
commit 167e5ee696
+3 -3
View File
@@ -53,14 +53,14 @@ void cleanup()
if (cleaned) return;
cleaned = true;
Log::info("Restoring system proxy settings");
setProxy(false, "");
if (g_Proxy)
{
Log::info("Shutting down proxy");
g_Proxy->shutdown();
}
Log::info("Restoring system proxy settings");
setProxy(false, "");
}
BOOL WINAPI consoleHandler(DWORD dwType)