1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

avoid a GC problem with RUBY_ALWAYS_GC= ./ruby -e ''.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9764 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
akr 2005-12-29 16:19:44 +00:00
parent 0cb24bf1b9
commit 8733060106

3
eval.c
View file

@ -10030,6 +10030,9 @@ rb_gc_abort_threads(void)
{
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) {