From d70e3f40d7db03ae00c2958e2ae77adb9a24df64 Mon Sep 17 00:00:00 2001 From: nobu Date: Sun, 30 Jul 2006 13:30:19 +0000 Subject: * 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: http://svn.ruby-lang.org/repos/ruby/trunk@10641 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- eval.c | 1 + 1 file changed, 1 insertion(+) (limited to 'eval.c') diff --git a/eval.c b/eval.c index 3a16c2855..9bc43db6e 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); } -- cgit