aboutsummaryrefslogtreecommitdiffstats
path: root/eval.c
diff options
context:
space:
mode:
Diffstat (limited to 'eval.c')
-rw-r--r--eval.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/eval.c b/eval.c
index 3a16c2855d..9bc43db6e7 100644
--- a/eval.c
+++ b/eval.c
@@ -10041,6 +10041,7 @@ rb_trap_eval(VALUE cmd, int sig, int safe)
if (state) {
rb_trap_immediate = 0;
+ rb_thread_ready(curr_thread);
JUMP_TAG(state);
}