destructors, how?

Ken Causey squeak-dev at lists.squeakfoundation.org
Tue Oct 22 14:57:23 UTC 2002


As with any effective use of a search engine the real trick is finding
the right word (Hmm, adding thesaurus support to a search engine; sounds
like a good project.).  In this case I believe the word would be
"finalization".  A little minnow searching and I find references to
various Weak* classes.  Check out Collections-Weak in a reasonably
recent (3.2 or greater?) image.

Ken Causey

On Tue, 2002-10-22 at 09:48, Ragnar Hojland Espinosa wrote:
> I want to automatically call self terminate on an object on destruction (or
> when it goes out of scope..) to clean what set up on new, but I can't find
> out how to write a destructor or something functionally equivalent.
> 
> It's sort of weird I cant find anywhere how to do this..
> -- 
> Ragnar Hojland - Project Manager
> Linalco "Especialistas Linux y en Software Libre"
> Tel: +34-91-5970074 Fax: +34-91-5970083
> 





More information about the Squeak-dev mailing list