diff options
Diffstat (limited to 'eval.c')
-rw-r--r-- | eval.c | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -3949,7 +3949,10 @@ rb_longjmp(tag, mesg) RSTRING(e)->ptr); } POP_TAG(); - if (status) { + if (status == TAG_FATAL && ruby_errinfo == exception_error) { + ruby_errinfo = Qnil; + } + else if (status) { thread_reset_raised(); JUMP_TAG(status); } |