1
0
mirror of https://github.com/wolfpld/tracy.git synced 2025-03-20 07:40:02 +08:00

Fix a crash in Worker c-tor when converting certain JSON files

This commit is contained in:
Andrey Voroshilov 2021-06-19 01:12:41 -07:00
parent fde62b4e6e
commit d4d77006ac

View File

@ -371,6 +371,8 @@ Worker::Worker( const char* name, const char* program, const std::vector<ImportE
else
{
auto td = NoticeThread( v.tid );
if (td->zoneIdStack.empty())
continue;
td->zoneIdStack.pop_back();
auto& stack = td->stack;
auto zone = stack.back_and_pop();