mirror of
https://github.com/yse/easy_profiler.git
synced 2024-12-27 08:41:02 +08:00
(ProfileManager) Fixed stack logic mistake
This commit is contained in:
parent
4d13e689f8
commit
63f77efcf1
@ -580,7 +580,7 @@ void ProfileManager::endBlock()
|
||||
THREAD_STORAGE->blocks.openedList.pop();
|
||||
|
||||
#if EASY_ENABLE_BLOCK_STATUS != 0
|
||||
THREAD_STORAGE->allowChildren = THREAD_STORAGE->blocks.openedList.empty() || !(lastBlock.m_status & profiler::OFF_RECURSIVE);
|
||||
THREAD_STORAGE->allowChildren = THREAD_STORAGE->blocks.openedList.empty() || !(THREAD_STORAGE->blocks.openedList.top().get().m_status & profiler::OFF_RECURSIVE);
|
||||
#endif
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user