fix: restore lock guard

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