Skip to content

Commit fe763ca

Browse files
authored
Merge pull request jruby#8425 from headius/no_clear_threadgroup_in_thread_dispose
Don't clear the ThreadGroup when Thread terminates
2 parents e3de28b + 4c7770b commit fe763ca

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

core/src/main/java/org/jruby/RubyThreadGroup.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,6 @@ void addDirectly(RubyThread rubyThread) {
120120

121121
public void remove(RubyThread rubyThread) {
122122
synchronized (rubyThread) {
123-
rubyThread.setThreadGroup(null);
124123
rubyThreadList.remove(rubyThread);
125124
}
126125
}

0 commit comments

Comments
 (0)