diff --git a/client/TracyProfiler.cpp b/client/TracyProfiler.cpp index af72b270..57dc828d 100644 --- a/client/TracyProfiler.cpp +++ b/client/TracyProfiler.cpp @@ -2825,10 +2825,9 @@ void Profiler::ReportTopology() void Profiler::SendCallstack( int depth, const char* skipBefore ) { #ifdef TRACY_HAS_CALLSTACK + TracyLfqPrepare( QueueType::Callstack ); auto ptr = Callstack( depth ); CutCallstack( ptr, skipBefore ); - - TracyLfqPrepare( QueueType::Callstack ); MemWrite( &item->callstackFat.ptr, (uint64_t)ptr ); TracyLfqCommit; #endif