aboutsummaryrefslogtreecommitdiff
path: root/thirdparty
diff options
context:
space:
mode:
Diffstat (limited to 'thirdparty')
-rw-r--r--thirdparty/trace/trace.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/thirdparty/trace/trace.h b/thirdparty/trace/trace.h
index 28fe6a66e..a1fce80a6 100644
--- a/thirdparty/trace/trace.h
+++ b/thirdparty/trace/trace.h
@@ -4316,6 +4316,7 @@ static void Writer_InternalShutdown()
return;
}
Writer_WorkerJoin();
+ AtomicStoreRelaxed(&GInitialized, false);
if (GDataHandle)
{
Writer_FlushSendBuffer();
@@ -4335,7 +4336,6 @@ static void Writer_InternalShutdown()
GSendBufferCursor = nullptr;
}
#endif
- AtomicStoreRelaxed(&GInitialized, false);
}
void Writer_InternalInitialize()
{