fix: remove useless mutex
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user