diff options
Diffstat (limited to 'vm.c')
-rw-r--r-- | vm.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1486,7 +1486,7 @@ thread_free(void *ptr) } #endif - if (th->vm->main_thread == th) { + if (th->vm && th->vm->main_thread == th) { RUBY_GC_INFO("main thread\n"); } else { |