Thread context data may be invalidated due to fibers.

This commit is contained in:
Bartosz Taudul 2021-11-02 01:52:41 +01:00
parent d522af99b9
commit b4e4c05088
No known key found for this signature in database
GPG Key ID: B7FE2008B7575DF3

View File

@ -4809,7 +4809,7 @@ void Worker::ProcessZoneBeginAllocSrcLocCallstack( const QueueZoneBeginLean& ev
void Worker::ProcessZoneEnd( const QueueZoneEnd& ev )
{
auto td = m_threadCtxData;
assert( td );
if( !td ) td = m_threadCtxData = NoticeThread( m_threadCtx );
if( td->zoneIdStack.empty() )
{