1
0
mirror of https://github.com/wolfpld/tracy.git synced 2025-03-20 07:40:02 +08:00

Save thread state should be atomic.

This commit is contained in:
Bartosz Taudul
2019-06-02 13:15:55 +02:00
parent 0059cb3ab0
commit 3a561b4eed
2 changed files with 8 additions and 8 deletions
+1 -1
View File
@@ -323,7 +323,7 @@ private:
NeedsJoin
};
SaveThreadState m_saveThreadState = SaveThreadState::Inert;
std::atomic<SaveThreadState> m_saveThreadState { SaveThreadState::Inert };
std::thread m_saveThread;
struct FindZone {