fix: remove useless mutex

This commit is contained in:
2026-04-11 12:36:00 -03:00
parent 6e62bcb1dc
commit 0af818fc0f
-2
View File
@@ -47,8 +47,6 @@ Proxy* g_Proxy = nullptr;
void cleanup() void cleanup()
{ {
static std::mutex cleanupMutex;
std::lock_guard<std::mutex> lock(cleanupMutex);
static bool cleaned = false; static bool cleaned = false;
if (cleaned) return; if (cleaned) return;
cleaned = true; cleaned = true;