summaryrefslogtreecommitdiff
path: root/vm.c
diff options
context:
space:
mode:
authorSamuel Williams <samuel.williams@oriontransfer.co.nz>2019-06-05 18:23:04 +1200
committerSamuel Williams <samuel.williams@oriontransfer.co.nz>2019-06-19 20:39:10 +1200
commit38791145ebc6890b97ea55ee490084c63b67f3cc (patch)
tree8f5e77f663df93c1ae69ea4aeba0d4b7b3ac79fb /vm.c
parent7c7a1c221281cdba1f48d5e42ee2f9af306d27f8 (diff)
Better handling of root fiber.
Diffstat (limited to 'vm.c')
-rw-r--r--vm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/vm.c b/vm.c
index 039f45050a..f7b2515cec 100644
--- a/vm.c
+++ b/vm.c
@@ -2625,7 +2625,7 @@ thread_free(void *ptr)
rb_bug("thread_free: keeping_mutexes must be NULL (%p:%p)", (void *)th, (void *)th->keeping_mutexes);
}
- //rb_threadptr_root_fiber_release(th);
+ rb_threadptr_root_fiber_release(th);
if (th->vm && th->vm->main_thread == th) {
RUBY_GC_INFO("main thread\n");