summaryrefslogtreecommitdiff
path: root/cont.c
diff options
context:
space:
mode:
Diffstat (limited to 'cont.c')
-rw-r--r--cont.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/cont.c b/cont.c
index 0c8a68fe9a..c0f9c1c720 100644
--- a/cont.c
+++ b/cont.c
@@ -1794,6 +1794,7 @@ rb_fiber_close(rb_fiber_t *fib)
}
rb_ec_set_vm_stack(ec, NULL, 0);
+ ec->cfp = NULL;
#if !FIBER_USE_NATIVE
/* should not mark machine stack any more */