From: Kent Dahl Date: 2001-11-29T23:54:29+09:00 Subject: [ruby-talk:26904] Re: finalizer not getting called Paul Brannan wrote: > Should the garbage collector print an error message when it cannot call a > finalizer? Would it not be better to throw an exception if the given Proc isn't of the correct arity? I.e. fail close to the point of failure. Failing later, when the object is destructed, it seems better to me to fail silently. (Just what should you do if GC kicks in and throws you an exception you know nothing about???) -- <[ Kent Dahl ]>================<[ http://www.stud.ntnu.no/~kentda/ ]> )____(stud.techn.;ind.�k.data)||(softwareDeveloper.at(Trustix))_( /"Opinions expressed are mine and not those of my Employer, "\ ( "the University, my girlfriend, stray cats, banana fruitflies, " ) \"nor the frontal lobe of my left cerebral hemisphere. "/