mirror of
https://github.com/wolfpld/tracy.git
synced 2025-03-20 07:40:02 +08:00
Immediately react to connection termination.
This commit is contained in:
parent
cc5bad294a
commit
0db9c73d76
@ -1224,10 +1224,12 @@ void Profiler::Worker()
|
|||||||
keepAlive = 0;
|
keepAlive = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
while( m_sock->HasData() )
|
bool connActive = true;
|
||||||
|
while( m_sock->HasData() && connActive )
|
||||||
{
|
{
|
||||||
if( !HandleServerQuery() ) break;
|
connActive = HandleServerQuery();
|
||||||
}
|
}
|
||||||
|
if( !connActive ) break;
|
||||||
}
|
}
|
||||||
if( ShouldExit() ) break;
|
if( ShouldExit() ) break;
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user