From: Roger Pack Date: 2011-05-26T12:25:57+09:00 Subject: Re: Impossible to enforce garbage collection Robert Pankowecki wrote in post #1000863: > 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 ? The GC puts "objects with finalizers" on a queue to be GC'ed later, because (I guess) it doesn't want to run any ruby code during the middle of the GC run. -roger- -- Posted via http://www.ruby-forum.com/.