Skip to content

Commit

Permalink
Small memory leak fix (#14641)
Browse files Browse the repository at this point in the history
  • Loading branch information
zeronerdzerogeekzerocool authored Dec 12, 2024
1 parent 3584899 commit 90b437f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -339,7 +339,7 @@ public void clear() {
// clear task info + stats
threadEntry.setToIdle();
// clear threadResourceUsageProvider
_threadResourceUsageProvider.set(null);
_threadResourceUsageProvider.remove();
// clear _anchorThread
super.clear();
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ public boolean isAnchorThreadInterrupted() {

@Override
public void clear() {
_anchorThread.set(null);
_anchorThread.remove();
}

@Override
Expand Down

0 comments on commit 90b437f

Please sign in to comment.