summaryrefslogtreecommitdiff
path: root/eval.c
diff options
context:
space:
mode:
Diffstat (limited to 'eval.c')
-rw-r--r--eval.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/eval.c b/eval.c
index 484671d65b..d3a3d76dcf 100644
--- a/eval.c
+++ b/eval.c
@@ -8693,7 +8693,7 @@ rb_thread_cleanup()
}
FOREACH_THREAD(th) {
- if (th != curr_thread && th->status != THREAD_KILLED) {
+ if (th->status != THREAD_KILLED) {
rb_thread_ready(th);
th->gid = 0;
th->priority = 0;