[Newbies] Remove old instances of a Class

Rob Rothwell r.j.rothwell at gmail.com
Sat May 24 22:19:08 UTC 2008


On Sat, May 24, 2008 at 5:54 PM, Claus Kick <claus_kick at web.de> wrote:

> why not just do
>
> MyClass allInstances do:[:i | i := nil].
> Smalltalk unusedMemory.
>

Huh...I've tried that too.  I've closed all my Workspaces, set all instances
to nil, and garbageCollectMost'ed...

Persistent little buggers...

Rob
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/beginners/attachments/20080524/e5807765/attachment.htm


More information about the Beginners mailing list