Hilaire Fernandes wrote:
What is cycle of unused objects? Circular references of unused objects?
What I did, for the Drgeo canvas, when the user ask to dismiss it, I
am releasing and forcing to nil the instance variables. But it brings
other problems.
I ma curious to know how developers handle this problem.
You normally don't need to nil out the variables unless you want to make
sure that an object is easily recognized as invalid (e.g. you check for
nil values elsewhere).
When objects don't get garbage collected they often are registered
somewhere as dependents, in caches or similar places.
Michael
_______________________________________________
Pharo-project mailing list
[email protected]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project