The finalizer is not getting called in this code -- it just prints
'exiting'.  What's wrong?  I'm running it on v1.8.6 on Windows Vista.

class A
  def initialize
     ObjectSpace.define_finalizer(self, proc{|id| puts "finalizing
#{id}"})
  end
end
a = A.new
a = nil
GC.start
sleep(5)
puts 'exiting'
-- 
Posted via http://www.ruby-forum.com/.