Hi,

In message "Singletons as globals and GC"
    on 03/07/29, Ben Giddings <ben / thingmagic.com> 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.