mirror of
https://github.com/wolfpld/tracy.git
synced 2025-03-20 07:40:02 +08:00
Don't block when polling for broadcast messages.
This commit is contained in:
@@ -505,7 +505,7 @@ static void DrawContents()
|
||||
{
|
||||
tracy::IpAddress addr;
|
||||
size_t len;
|
||||
auto msg = broadcastListen->Read( len, addr );
|
||||
auto msg = broadcastListen->Read( len, addr, 0 );
|
||||
if( msg )
|
||||
{
|
||||
assert( len <= sizeof( tracy::BroadcastMessage ) );
|
||||
|
||||
Reference in New Issue
Block a user