mirror of
https://github.com/AxioDL/boo.git
synced 2025-12-08 21:17:50 +00:00
IObj destructor race condition fix
This commit is contained in:
@@ -120,7 +120,8 @@ public:
|
||||
/* Spawn client thread */
|
||||
m_clientThread = std::thread([&]()
|
||||
{
|
||||
logvisor::RegisterThreadName("Boo Client Thread");
|
||||
std::string thrName = getFriendlyName() + " Client Thread";
|
||||
logvisor::RegisterThreadName(thrName.c_str());
|
||||
|
||||
/* Run app */
|
||||
m_clientReturn = m_callback.appMain(this);
|
||||
@@ -205,7 +206,8 @@ int ApplicationRun(IApplication::EPlatformType platform,
|
||||
const std::vector<SystemString>& args,
|
||||
bool singleInstance)
|
||||
{
|
||||
logvisor::RegisterThreadName("Boo Main Thread");
|
||||
std::string thrName = friendlyName + " Main Thread";
|
||||
logvisor::RegisterThreadName(thrName.c_str());
|
||||
@autoreleasepool
|
||||
{
|
||||
if (!APP)
|
||||
|
||||
Reference in New Issue
Block a user