Consistent wait.time checks.

This commit is contained in:
Bartosz Taudul
2026-06-17 01:31:01 +02:00
parent 023cb20ba9
commit 616f33ff65

View File

@@ -131,7 +131,7 @@ void View::DrawCallstackTable( const CallstackFrameId* data, size_t size, uint64
json["thread_id"] = thread;
}
if( callstack >= 0 ) json["id"] = callstack;
if( wait.time > 0 )
if( wait.time != 0 )
{
json["wait_time"] = TimeToString( wait.time );
if( wait.reason ) json["wait_reason"] = wait.reasonCode;