Add missing server query space updates to failure handling.

This commit is contained in:
Bartosz Taudul 2020-09-30 16:48:59 +02:00
parent 0d209b80f4
commit a5e0336936

View File

@ -2953,6 +2953,7 @@ void Worker::DispatchFailure( const QueueItem& ev, const char*& ptr )
if( ev.hdr.type == QueueType::FrameImageData || if( ev.hdr.type == QueueType::FrameImageData ||
ev.hdr.type == QueueType::SymbolCode ) ev.hdr.type == QueueType::SymbolCode )
{ {
if( ev.hdr.type == QueueType::SymbolCode ) m_serverQuerySpaceLeft++;
uint32_t sz; uint32_t sz;
memcpy( &sz, ptr, sizeof( sz ) ); memcpy( &sz, ptr, sizeof( sz ) );
ptr += sizeof( sz ) + sz; ptr += sizeof( sz ) + sz;
@ -3018,6 +3019,7 @@ void Worker::DispatchFailure( const QueueItem& ev, const char*& ptr )
ProcessCallstackFrame( ev.callstackFrame, false ); ProcessCallstackFrame( ev.callstackFrame, false );
break; break;
case QueueType::SymbolInformation: case QueueType::SymbolInformation:
case QueueType::CodeInformation:
case QueueType::ParamPingback: case QueueType::ParamPingback:
m_serverQuerySpaceLeft++; m_serverQuerySpaceLeft++;
break; break;