mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-10 02:31:48 +00:00
Always preserve order of queries.
This commit is contained in:
parent
8fa0a4dc9e
commit
035bb2236d
@ -3204,7 +3204,7 @@ void Worker::DispatchFailure( const QueueItem& ev, const char*& ptr )
|
||||
void Worker::Query( ServerQuery type, uint64_t data, uint32_t extra )
|
||||
{
|
||||
ServerQueryPacket query { type, data, extra };
|
||||
if( m_serverQuerySpaceLeft > 0 )
|
||||
if( m_serverQueryQueue.empty() && m_serverQuerySpaceLeft > 0 )
|
||||
{
|
||||
m_serverQuerySpaceLeft--;
|
||||
m_sock.Send( &query, ServerQueryPacketSize );
|
||||
|
Loading…
Reference in New Issue
Block a user