How to get rid of an object pointed to by a do-it?

Bert Freudenberg bert at freudenbergs.de
Thu Sep 7 19:31:02 UTC 2006


Herbert König schrieb:
> Hello,
> 
> in a class comment of class A I have a doIt sending a message which
> does 'B allInstances' of class B.
> 
> This doIt seems to hang around and prevents me from garbage collecting
> the last two instances of class B. See attached gif. First element of
> the array is the inspector itself.
> 
> The doIt is the last of many objects pointing to instances of class B
> which I already hunted down but here I'm lost.
> 
> Any hints?

Smalltalk forgetDoIts

- Bert -




More information about the Squeak-dev mailing list