diff options
author | Samuel Williams <[email protected]> | 2019-06-05 23:39:17 +1200 |
---|---|---|
committer | Samuel Williams <[email protected]> | 2019-06-19 20:39:10 +1200 |
commit | b8e4bea7806f481efab42f8d88ecba783c709042 (patch) | |
tree | 923dcff62417a9eed3ff6d855fbf8d3996aa75c4 /thread.c | |
parent | 4b3b781c66c48604a013557172540effd929f96a (diff) |
Track how stack was allocated for `cont_free`.
Diffstat (limited to 'thread.c')
-rw-r--r-- | thread.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -821,7 +821,7 @@ thread_start_func_2(rb_thread_t *th, VALUE *stack_start, VALUE *register_stack_s rb_threadptr_unlock_all_locking_mutexes(th); rb_check_deadlock(th->vm); - rb_ec_set_vm_stack(th->ec, NULL, 0); + rb_fiber_close(th->ec->fiber_ptr); } thread_cleanup_func(th, FALSE); gvl_release(th->vm); |