Skip to content

Commit

Permalink
Do not display unknown PIDs.
Browse files Browse the repository at this point in the history
  • Loading branch information
wolfpld committed Oct 26, 2022
1 parent 86f8871 commit d523c72
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion profiler/src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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 )
Expand Down

0 comments on commit d523c72

Please sign in to comment.