Merge pull request #588 from dmirys/fix-tracy-no-callstack

Fix compilation for the case of using TRACY_NO_CALLSTACK
This commit is contained in:
Bartosz Taudul 2023-07-31 12:21:55 +02:00 committed by GitHub
commit 1eafeea1a9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1072,7 +1072,9 @@ static void CrashHandler( int signal, siginfo_t* info, void* /*ucontext*/ )
}
closedir( dp );
#ifdef TRACY_HAS_CALLSTACK
if( selfTid == s_symbolTid ) s_symbolThreadGone.store( true, std::memory_order_release );
#endif
TracyLfqPrepare( QueueType::Crash );
TracyLfqCommit;