destructors, how?

Peter Crowther Peter.Crowther at networkinference.com
Wed Oct 23 12:31:25 UTC 2002


> From: Philip Metz [mailto:metzp at interlog.com] 
> Pardon my ignorance, but how is it possible to access an object
> *after* it has been GCd?

It isn't.  The object is asked for its executor - the thing that deals
with cleaning up after its death.  The executor typically maintains a
copy of sufficient of the object's state to be able to do the cleanup.

		- Peter



More information about the Squeak-dev mailing list