We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9072d1b commit fb7cd9fCopy full SHA for fb7cd9f
1 file changed
src/Common/ThreadStatus.cpp
@@ -226,7 +226,7 @@ ThreadStatus::~ThreadStatus()
226
227
chassert(!check_current_thread_on_destruction || current_thread == this);
228
229
- /// Flush untracked_memory **before** switching the current_thread (to avoid losing untracked_memory)
+ /// Flush untracked_memory **right before** switching the current_thread to avoid losing untracked_memory in deleter (detachFromGroup)
230
flushUntrackedMemory();
231
232
/// Only change current_thread if it's currently being used by this ThreadStatus
0 commit comments