Unloading a class from the image

Lex Spoon lex at cc.gatech.edu
Sat Nov 10 18:55:51 UTC 2001


> I would like to know if there is a method that is automatically sent to a
> class when the class is removed from the image. I need to override such
> method for the Tools that are registered to the FileList. We will need such
> hook in the module.
> 
> I was thinking about release but I have the impression that release is
> responsible to release external resources.
> 

It appears that the current ChangeSet will be sent #noteRemovalOf: .... 
In general, hooking up via ChangeSet's seems like a reliable way to go.


-Lex




More information about the Squeak-dev mailing list