mirror of
https://github.com/yse/easy_profiler.git
synced 2024-12-27 08:41:02 +08:00
(Core) Fixed old typo in ProfileManager::setBlockStatus()
This commit is contained in:
parent
bf308dc299
commit
50b3cc8b7a
@ -1615,7 +1615,7 @@ const char* ProfileManager::registerThread(const char* name)
|
||||
|
||||
void ProfileManager::setBlockStatus(block_id_t _id, EasyBlockStatus _status)
|
||||
{
|
||||
if (m_profilerStatus.load(std::memory_order_acquire) != EASY_PROF_ENABLED)
|
||||
if (m_profilerStatus.load(std::memory_order_acquire) != EASY_PROF_DISABLED)
|
||||
return; // Changing blocks statuses is restricted while profile session is active
|
||||
|
||||
guard_lock_t lock(m_storedSpin);
|
||||
|
Loading…
x
Reference in New Issue
Block a user