From 5816dc2b1101ee5025b06510730941ccf4155ceb Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Sun, 20 Oct 2019 17:03:30 +0200 Subject: [PATCH] Don't cache timedist data if ctx switch data is incomplete. --- server/TracyView.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/server/TracyView.cpp b/server/TracyView.cpp index c40f5355..30d41d03 100644 --- a/server/TracyView.cpp +++ b/server/TracyView.cpp @@ -6287,6 +6287,7 @@ void View::DrawZoneInfoWindow() if( !GetZoneRunningTime( ctx, ev, time, cnt ) ) { TextDisabledUnformatted( "Incomplete context switch data." ); + m_timeDist.dataValidFor = nullptr; } else {