From: matz@... (Yukihiro Matsumoto) Date: 2003-07-29T16:50:18+09:00 Subject: Re: Singletons as globals and GC Hi, In message "Singletons as globals and GC" on 03/07/29, Ben Giddings writes: |w1 = Worker1.new |w1.doStuff | |w2 = Worker2.new |w2.doStuff |w2.showResult | |What I want to avoid is having the Stats singleton get garbage |collected between calls to w1.doStuff and the creation of Worker2.new. |Any comments? I don't know what you meant. If w1 is referenced from somewhere, w1 will not be garbage-collected. matz.