[Webkit-unassigned] [Bug 9962] REGRESSION: Reproducible crash at Blender site
bugzilla-daemon at opendarwin.org
bugzilla-daemon at opendarwin.org
Mon Jul 17 12:09:28 PDT 2006
http://bugzilla.opendarwin.org/show_bug.cgi?id=9962
------- Comment #11 from darin at apple.com 2006-07-17 12:09 PDT -------
(In reply to comment #10)
> For the purposes of learning, though, how do you fix the reference cycle issue?
> Do you break the cycle on removal? In the listener's destructor?
Rather than "breaking the cycle" we try to not have the cycle in the first
place.
Typically what we do is create some kind of weak reference. There's no built-in
weak reference mechanism, but there are lots of examples where we keep a
pointer that the pointed-to object is aware of, then when it's torn down (or
destroyed) it tells the object that's pointing to it that it's gone.
--
Configure bugmail: http://bugzilla.opendarwin.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the webkit-unassigned
mailing list