From: nobuyoshi nakada Date: 2005-10-25T12:41:27+09:00 Subject: Re: Crash in Tk demo of Ruby 1.9.0 CVS Hi, At Tue, 25 Oct 2005 12:00:23 +0900, H.Yamamoto wrote in [ruby-core:06382]: > This adhok patch seems to prevent this error, but I don't think this patch is good enough. > (I don't know GC mechanizm. Just tried and run fine.) The patch changes garbage_collect() to return now whether there're rooms for new objects, rather than whether GC run. It seems OK. And the succeeding line is not used. if (during_gc) return Qfalse; -- Nobu Nakada