diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2006-07-30 13:30:19 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2006-07-30 13:30:19 +0000 |
commit | ea899f6b18b63057eafa2bad72de55d40fa4192f (patch) | |
tree | 4908e4ee6334c7d917aedc3e31b11093f4118ac5 /eval.c | |
parent | f89633f03d617eff02a44a0be36e2668592c0f5a (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/branches/ruby_1_8@10641 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'eval.c')
-rw-r--r-- | eval.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -9939,6 +9939,7 @@ rb_trap_eval(cmd, sig, safe) if (state) { rb_trap_immediate = 0; + rb_thread_ready(curr_thread); JUMP_TAG(state); } |