Fix uninitialized Worker::m_pending* loaded traces.

This was causing issues in the Infos -> Trace Statistics window as `GetCallstackFrameCount` uses `m_pendingCallstackFrames`. Just in case, init those all those variables where declared instead of constructor.
This commit is contained in:
Clément Grégoire
2025-10-08 07:47:51 +02:00
parent b6191ceddb
commit 255f465a8f
2 changed files with 8 additions and 16 deletions
-8
View File
@@ -263,14 +263,6 @@ Worker::Worker( const char* addr, uint16_t port, int64_t memoryLimit )
, m_buffer( new char[TargetFrameSize*3 + 1] )
, m_bufferOffset( 0 )
, m_inconsistentSamples( false )
, m_pendingStrings( 0 )
, m_pendingThreads( 0 )
, m_pendingFibers( 0 )
, m_pendingExternalNames( 0 )
, m_pendingSourceLocation( 0 )
, m_pendingCallstackFrames( 0 )
, m_pendingCallstackSubframes( 0 )
, m_pendingSymbolCode( 0 )
, m_memoryLimit( memoryLimit )
, m_callstackFrameStaging( nullptr )
, m_traceVersion( CurrentVersion )