chore: rename threads on Windows too (#5539)
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user