incubator-flex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alex Harui <aha...@adobe.com>
Subject Re: JavaScript VS. Weak references
Date Wed, 08 Feb 2012 03:13:31 GMT



On 2/7/12 11:33 AM, "Martin Heidegger" <mh@leichtgewicht.at> wrote:

> This means to me: Any use of
> weak Dictionaries and weak event listeners would need to vanish from the
> Flex SDK to actually make it portable.
> 
> I just wanted to point that out. It might be interesting to a few.
> 
> And related to that two questions:
>   1) Does anyone know how browsers avoid memory leaks with
> addEventListener ?
>   2) Would the Flex team be open to such a fundamental change in code-style?
For #2, I think we can live without weak-references and require dispose()
methods in the few places that really need it.

-- 
Alex Harui
Flex SDK Team
Adobe Systems, Inc.
http://blogs.adobe.com/aharui


Mime
View raw message