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. Sorry I am a bit off-topic. Hilaire 2008/8/18 Damien Cassou <damien.cassou@gmail.com>:
On Mon, Aug 18, 2008 at 9:13 AM, Hilaire Fernandes <hilaire@ofset.org> wrote:
A side related question. I wonder, when you have more instance variable referencing the same object, does it make more difficult to get unused object garbage collected? In DrGeo I *fell* I have this kind of problem with object referenced in other object and vis-versa, then never garbage collected. Or did I miss something?
I'm unsure it answers your question but the garbage collector should be able to detect cycles of unused objects and delete them.
-- Damien Cassou Peter von der Ahé: «I'm beginning to see why Gilad wished us good luck». (http://blogs.sun.com/ahe/entry/override_snafu)
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project