From: Peter Zotov Date: 2011-05-25T20:34:01+09:00 Subject: Re: Impossible to enforce garbage collection On Wed, 25 May 2011 20:11:20 +0900, Robert Pankowecki wrote: > http://pastie.org/1970654 > > Can anyone tell me why the object created with finializer is not > garbage > collected during GC.start executed in line 10 please ? > > Robert Pankowecki Because exceptions thrown in finalizers are silently ignored: http://rxr.whitequark.org/mri/source/gc.c#2862 (note the last rb_protect). -- WBR, Peter Zotov.