Don't assert on a workarounded bad case.

This commit is contained in:
Bartosz Taudul 2024-07-11 20:45:14 +02:00
parent ec455c8ee6
commit 1458a6ab23
No known key found for this signature in database
GPG Key ID: B7FE2008B7575DF3

View File

@ -6307,7 +6307,7 @@ void Worker::ProcessCallstackSampleImplStats( const SampleData& sd, ThreadData&
if( t != 0 ) if( t != 0 )
{ {
assert( td.samples.size() > td.ghostIdx ); //assert( td.samples.size() > td.ghostIdx );
if( framesKnown && td.ghostIdx + 1 == td.samples.size() ) if( framesKnown && td.ghostIdx + 1 == td.samples.size() )
{ {
td.ghostIdx++; td.ghostIdx++;