Uninstalling stuff (was Re: [squeak-dev] SqueakMap for documentation?)

Göran Krampe goran at krampe.se
Sat Feb 26 12:35:12 UTC 2011

On 02/26/2011 08:46 AM, Bert Freudenberg wrote:
> On 25.02.2011, at 23:35, Göran Krampe wrote:
>> On 02/26/2011 01:21 AM, Chris Cunningham wrote:
>>> 2011/2/25 Göran Krampe<goran at krampe.se>:
>>>> And finally, as you said - classes should ideally have #release ( opposite
>>>> of initialize) methods I guess if they need to make modifications to the
>>>> image before they get deleted. Not sure if that has ever been used for class
>>>> side initializers - anyone care to elaborate on Smalltalk history here?
>>> To me, at least ,#release would mean something completely different
>>> than what you have mentioned here.  I'd much rather see a method named
>>> something like #prepForUnload.
>>> -Chris
>> Well,  Ijust used the term "release" since it is AFAIK regarded as the opposite of initialize in Smalltalk. But again, I have almost never used it - and I don't think I have seen it on the class side, so anyone with better insight?
>> regards, Göran
> There has always been support for this. The method you are looking for is called "unload". Existing methods do e.g. unregistration. Just browse implementers.
> - Bert -

Ah, right. Getting rusty :)

regards, Göran

More information about the Squeak-dev mailing list