diff options
Diffstat (limited to 'vm.c')
-rw-r--r-- | vm.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -1611,6 +1611,7 @@ ruby_vm_destruct(rb_vm_t *vm) rb_gc_force_recycle(vm->self); vm->main_thread = 0; if (th) { + rb_fiber_reset_root_local_storage(th->self); thread_free(th); } if (vm->living_threads) { |