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 0d942a9bfb..ea3cf6da3f 100644
--- a/vm.c
+++ b/vm.c
@@ -1808,6 +1808,7 @@ vm_exec(rb_thread_t *th)
const rb_control_frame_t *escape_cfp;
err = (struct vm_throw_data *)th->ec.errinfo;
+ rb_thread_raised_reset(th, RAISED_STACKOVERFLOW);
exception_handler:
cont_pc = cont_sp = 0;