summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cont.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/cont.c b/cont.c
index db7457ff7f..c16c697ee7 100644
--- a/cont.c
+++ b/cont.c
@@ -709,6 +709,7 @@ fiber_stack_release(rb_fiber_t * fiber)
// The stack is no longer associated with this execution context:
rb_ec_clear_vm_stack(ec);
+ ec->cfp = NULL;
}
static const char *