1
0
mirror of https://github.com/wolfpld/tracy synced 2025-01-15 11:57:59 +00:00

Compare commits

...

2 Commits

Author SHA1 Message Date
Bartosz Taudul
7fbf796ecb
Merge pull request #234 from avoroshilov/fix-crash-conversion
Fix a crash in Worker c-tor when converting certain JSON files
2021-06-19 12:01:27 +02:00
Andrey Voroshilov
d4d77006ac Fix a crash in Worker c-tor when converting certain JSON files 2021-06-19 01:12:41 -07:00

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();