Skip to content

Commit 2e7e43f

Browse files
committed
Cleanup thread local references
1 parent b4c8b66 commit 2e7e43f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

ddprof-lib/src/main/cpp/wallClock.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,8 @@ class BaseWallClock : public Engine {
104104
}
105105

106106
threads.clear();
107+
cleanThreads();
108+
107109
// Get a random sleep duration
108110
// clamp the random interval to <1,2N-1>
109111
// the probability of clamping is extremely small, close to zero

0 commit comments

Comments
 (0)