mirror of
https://github.com/wolfpld/tracy
synced 2025-04-29 12:23:53 +00:00
Handle single and second string data in failure dispatch.
This commit is contained in:
parent
3135191e90
commit
cecc3783a8
@ -2985,6 +2985,16 @@ void Worker::DispatchFailure( const QueueItem& ev, const char*& ptr )
|
||||
}
|
||||
else
|
||||
{
|
||||
uint16_t sz;
|
||||
switch( ev.hdr.type )
|
||||
{
|
||||
case QueueType::SingleStringData:
|
||||
case QueueType::SecondStringData:
|
||||
ptr += sizeof( QueueHeader );
|
||||
memcpy( &sz, ptr, sizeof( sz ) );
|
||||
ptr += sizeof( sz ) + sz;
|
||||
break;
|
||||
default:
|
||||
ptr += QueueDataSize[ev.hdr.idx];
|
||||
switch( ev.hdr.type )
|
||||
{
|
||||
@ -3002,6 +3012,7 @@ void Worker::DispatchFailure( const QueueItem& ev, const char*& ptr )
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
void Worker::Query( ServerQuery type, uint64_t data, uint32_t extra )
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user