aboutsummaryrefslogtreecommitdiffstats
path: root/cont.c
diff options
context:
space:
mode:
authorSamuel Williams <samuel.williams@oriontransfer.co.nz>2019-07-19 00:33:03 +1200
committerSamuel Williams <samuel.williams@oriontransfer.co.nz>2019-07-19 00:33:03 +1200
commit9790b778a339f36f9b29517a1d762cf02a2f0293 (patch)
treeb19c1939068c5c0b9e4fc85ea2d22d11a3f28d1a /cont.c
parent78bc6cd8dff9ee584a447251490c88ee035d218d (diff)
downloadruby-9790b778a339f36f9b29517a1d762cf02a2f0293.tar.gz
Ensure we don't have dangling cfp.
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 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 *