mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-30 01:04:36 +00:00
Signal symbol resolution thread destruction.
This commit is contained in:
parent
02ce9b7d8b
commit
fe9c63b8d2
@ -1036,6 +1036,7 @@ static Thread* s_compressThread;
|
||||
#endif
|
||||
#ifdef TRACY_HAS_CALLSTACK
|
||||
static Thread* s_symbolThread;
|
||||
std::atomic<bool> s_symbolThreadGone { false };
|
||||
#endif
|
||||
#ifdef TRACY_HAS_SYSTEM_TRACING
|
||||
static Thread* s_sysTraceThread = nullptr;
|
||||
@ -1424,6 +1425,7 @@ Profiler::~Profiler()
|
||||
#ifdef TRACY_HAS_CALLSTACK
|
||||
s_symbolThread->~Thread();
|
||||
tracy_free( s_symbolThread );
|
||||
s_symbolThreadGone.store( true, std::memory_order_release );
|
||||
#endif
|
||||
|
||||
#ifndef TRACY_NO_FRAME_IMAGE
|
||||
|
Loading…
Reference in New Issue
Block a user