chore: rename threads on Windows too (#5539)

This commit is contained in:
nerix
2024-08-11 11:23:04 +02:00
committed by GitHub
parent 2b45b2e0a9
commit 1ccdaea8ee
8 changed files with 61 additions and 2 deletions
+2
View File
@@ -1,6 +1,7 @@
#include "BrowserExtension.hpp"
#include "singletons/NativeMessaging.hpp"
#include "util/RenameThread.hpp"
#include <iostream>
#include <memory>
@@ -69,6 +70,7 @@ void runLoop()
std::this_thread::sleep_for(10s);
}
});
renameThread(thread, "BrowserPingCheck");
while (true)
{