diff --git a/profiler/src/main.cpp b/profiler/src/main.cpp index 4b991274..2a3f1343 100644 --- a/profiler/src/main.cpp +++ b/profiler/src/main.cpp @@ -505,9 +505,10 @@ static void DrawContents() { tracy::IpAddress addr; size_t len; - auto msg = broadcastListen->Read( len, addr, 0 ); - if( msg ) + for(;;) { + auto msg = broadcastListen->Read( len, addr, 0 ); + if( !msg ) break; assert( len <= sizeof( tracy::BroadcastMessage ) ); tracy::BroadcastMessage bm; memcpy( &bm, msg, len );