diff options
Diffstat (limited to 'eval.c')
-rw-r--r-- | eval.c | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -1,6 +1,6 @@ /********************************************************************** - eval.c - + eval.e - $Author$ $Date$ @@ -10015,6 +10015,9 @@ rb_gc_abort_threads() { rb_thread_t th; + if (!main_thread) + return; + FOREACH_THREAD_FROM(main_thread, th) { if (FL_TEST(th->thread, FL_MARK)) continue; if (th->status == THREAD_STOPPED) { |