[Newbies] Remove old instances of a Class

Bert Freudenberg bert at freudenbergs.de
Sun May 25 20:55:38 UTC 2008


On 25.05.2008, at 22:23, stephane ducasse wrote:

> You can also use trick like
>
> 	each become: String new
>
> to swap references to empty object that will be garbaged.


This should be used only as a last resort. It doesn't actually remove  
the references that are not garbage-collected, just replaces them with  
other objects.

A recipe for finding references is here:

	http://wiki.squeak.org/squeak/2631

- Bert -




More information about the Beginners mailing list