Skip to content

Commit fb7cd9f

Browse files
authored
Update src/Common/ThreadStatus.cpp
1 parent 9072d1b commit fb7cd9f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Common/ThreadStatus.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@ ThreadStatus::~ThreadStatus()
226226

227227
chassert(!check_current_thread_on_destruction || current_thread == this);
228228

229-
/// Flush untracked_memory **before** switching the current_thread (to avoid losing untracked_memory)
229+
/// Flush untracked_memory **right before** switching the current_thread to avoid losing untracked_memory in deleter (detachFromGroup)
230230
flushUntrackedMemory();
231231

232232
/// Only change current_thread if it's currently being used by this ThreadStatus

0 commit comments

Comments
 (0)