diff --git a/server/TracyWorker.cpp b/server/TracyWorker.cpp index 91e09eab..f26096d7 100644 --- a/server/TracyWorker.cpp +++ b/server/TracyWorker.cpp @@ -4129,6 +4129,7 @@ void Worker::ProcessContextSwitch( const QueueContextSwitch& ev ) auto& cx = cs.push_next(); cx.SetStart( time ); + cx.SetEnd( -1 ); cx.SetThread( ev.newThread ); // At this point that check is approximate