Any 'delete' like message for object?
Bert Freudenberg
bert at impara.de
Fri Dec 30 12:28:38 UTC 2005
Am 30.12.2005 um 10:05 schrieb Hilaire Fernandes:
> I was believing the release message was called when objet are
> garbage collected. It appears it is not the case.
> What is the standard way to do some clean up before forgetting
> about objet? Should it be done 'by hand' before?
This is the common way, yes. If you have very specific needs (like if
you must make 100% sure some OS resource is released even in the case
of unanticipated errors) you might consider finalization:
http://minnow.cc.gatech.edu/squeak/664
- Bert -
More information about the Squeak-dev
mailing list
|