From 66cc77bd5fda1807d0c190b64c16fb38ee31067c Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Thu, 5 Feb 2026 00:42:42 +0100 Subject: [PATCH] Don't access ghost zones before they are ready. --- profiler/src/profiler/TracyTimelineItemThread.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/profiler/src/profiler/TracyTimelineItemThread.cpp b/profiler/src/profiler/TracyTimelineItemThread.cpp index 04f6e3d8..2a70bfd9 100644 --- a/profiler/src/profiler/TracyTimelineItemThread.cpp +++ b/profiler/src/profiler/TracyTimelineItemThread.cpp @@ -36,7 +36,7 @@ bool TimelineItemThread::IsEmpty() const return crash.thread != m_thread->id && m_thread->timeline.empty() && m_thread->messages.empty() && - m_thread->ghostZones.empty(); + ( !m_worker.AreGhostZonesReady() || m_thread->ghostZones.empty() ); } uint32_t TimelineItemThread::HeaderColor() const