diff options
author | Samuel Williams <[email protected]> | 2019-06-20 11:56:06 +1200 |
---|---|---|
committer | Samuel Williams <[email protected]> | 2019-06-20 11:56:06 +1200 |
commit | 626483721ae297ecb641a36b7bb39fc6d6490c82 (patch) | |
tree | 8862d0628797cda43ea3185854772660e9a4406b | |
parent | 25049a6e818d879aecb88379753f1e215b915f93 (diff) |
Set `cfp` to null (along with vm_stack) in `rb_fiber_close`.
-rw-r--r-- | cont.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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 */ |