Skip to content

Commit 52ceb57

Browse files
committed
[GR-39857] Set nativeInterruptTimer to null at the end of pre-initialization
PullRequest: truffleruby/3437
2 parents 7e1e9f1 + a859693 commit 52ceb57

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/main/java/org/truffleruby/core/thread/ThreadManager.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,7 @@ public void initialize() {
121121
public void dispose() {
122122
if (nativeInterrupt) {
123123
nativeInterruptTimer.cancel();
124+
nativeInterruptTimer = null;
124125
}
125126
}
126127

0 commit comments

Comments
 (0)