summaryrefslogtreecommitdiff
path: root/eval.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2006-07-30 13:30:19 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2006-07-30 13:30:19 +0000
commit782d8df4f526f01f35765add20f8bbde7407d884 (patch)
tree633c1ba4a3ee2558f77c07dc8ea912987386719c /eval.c
parent567ded60735fde0bb0e7d0eb9c319651d39c5146 (diff)
* eval.c (rb_trap_eval): make the current thread runnable to deal with
exceptions which occurred within the trap. fixed: [ruby-dev:27729] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10641 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
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);
}