At 12:24 PM 6/15/2007, strk wrote:
Exactly. Not that Function.prototype.constructor == Function, so it does not even take user intervention for creating circular dependencies. It's builtin for ActionScript.
For everyone else: It took me a minute to understand the significance of this, but what it says is that every function declaration generates a perimeter=2 closed cycle which is impervious to ordinary RC methods.
For strk: Since this case is so common, is it possible and feasible to make the constructor reference to the function a weak reference, as an optimization? If so, might this not be a good, relatively isolated place in the code to deploy and test weak references?
Eric _______________________________________________ Gnash-dev mailing list [email protected] http://lists.gnu.org/mailman/listinfo/gnash-dev

