mirror of
https://github.com/ruby/ruby.git
synced 2025-08-23 13:04:13 +02:00
Better handling of root fiber.
This commit is contained in:
parent
7c7a1c2212
commit
38791145eb
3 changed files with 18 additions and 18 deletions
2
vm.c
2
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");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue