Do not display unknown PIDs.

This commit is contained in:
Bartosz Taudul 2022-10-26 23:22:24 +02:00
parent 86f88714ae
commit d523c728ea
No known key found for this signature in database
GPG Key ID: B7FE2008B7575DF3

View File

@ -765,7 +765,10 @@ static void DrawContents()
}
tracy::TextFocused( "IP:", v.second.address.c_str() );
tracy::TextFocused( "Port:", portstr );
tracy::TextFocused( "PID:", tracy::RealToString( v.second.pid ) );
if( v.second.pid != 0 )
{
tracy::TextFocused( "PID:", tracy::RealToString( v.second.pid ) );
}
ImGui::EndTooltip();
}
if( v.second.port != port )