mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-12 19:31:47 +00:00
Thread context data may be invalidated due to fibers.
This commit is contained in:
parent
d522af99b9
commit
b4e4c05088
@ -4809,7 +4809,7 @@ void Worker::ProcessZoneBeginAllocSrcLocCallstack( const QueueZoneBeginLean& ev
|
|||||||
void Worker::ProcessZoneEnd( const QueueZoneEnd& ev )
|
void Worker::ProcessZoneEnd( const QueueZoneEnd& ev )
|
||||||
{
|
{
|
||||||
auto td = m_threadCtxData;
|
auto td = m_threadCtxData;
|
||||||
assert( td );
|
if( !td ) td = m_threadCtxData = NoticeThread( m_threadCtx );
|
||||||
|
|
||||||
if( td->zoneIdStack.empty() )
|
if( td->zoneIdStack.empty() )
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user