From: Brian Candler Date: 2008-09-18T01:21:41+09:00 Subject: Re: Threads preventing garbage collection? Ara Howard wrote: > but that it expected? you have a Foo which referes to a Thread which > has not died that is itself referred to by the global Thread.list > > cfp:~ > ruby -e' 41.times{ Thread.new{ sleep } }; p Thread.list.size ' > 42 Foo ------------> thread thread list ----> I don't think this should prevent garbage collection of Foo, if nothing is holding a reference to Foo -- Posted via http://www.ruby-forum.com/.