From d86e36cc624c73bc74dc03a5263d6eb9f15ae3b3 Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Sat, 26 Jan 2019 22:18:07 +0100 Subject: [PATCH] Fix progress of loading CPU zones. --- server/TracyWorker.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/server/TracyWorker.cpp b/server/TracyWorker.cpp index 60c73341..bdab50d1 100644 --- a/server/TracyWorker.cpp +++ b/server/TracyWorker.cpp @@ -734,6 +734,7 @@ Worker::Worker( FileRead& f, EventType::Type eventMask ) uint64_t tsz; f.Read( tsz ); s_loadProgress.subTotal.store( td->count, std::memory_order_relaxed ); + s_loadProgress.subProgress.store( 0, std::memory_order_relaxed ); if( tsz != 0 ) { if( fileVer <= FileVersion( 0, 4, 1 ) )