summaryrefslogtreecommitdiff
path: root/vm.c
diff options
context:
space:
mode:
Diffstat (limited to 'vm.c')
-rw-r--r--vm.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/vm.c b/vm.c
index 4c44aa4a41..6b2bd907ff 100644
--- a/vm.c
+++ b/vm.c
@@ -1370,6 +1370,7 @@ vm_exec(rb_thread_t *th)
*th->cfp->sp++ = (GET_THROWOBJ_VAL(err));
#endif
}
+ th->state = 0;
th->errinfo = Qnil;
goto vm_loop_start;
}