From 9790b778a339f36f9b29517a1d762cf02a2f0293 Mon Sep 17 00:00:00 2001 From: Samuel Williams Date: Fri, 19 Jul 2019 00:33:03 +1200 Subject: Ensure we don't have dangling cfp. --- cont.c | 1 + 1 file changed, 1 insertion(+) (limited to 'cont.c') 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 * -- cgit v1.2.3