summaryrefslogtreecommitdiffstats
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 bd4d1228d..3cbc60f47 100644
--- a/eval.c
+++ b/eval.c
@@ -345,6 +345,7 @@ rb_longjmp(int tag, VALUE mesg)
if (rb_thread_set_raised(th)) {
th->errinfo = exception_error;
+ rb_thread_reset_raised(th);
JUMP_TAG(TAG_FATAL);
}