rs@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
Behalf Of Josh McDonald
Sent: 16 February 2009 06:04
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] RE: Dictionary memory leak
I use Dictionary as a non-leaking "map" all over the place and I
definitely don't have any
I use Dictionary as a non-leaking "map" all over the place and I definitely
don't have any problems with it (Player 10, Mac).
-Josh
On Mon, Feb 16, 2009 at 4:00 PM, Alex Harui wrote:
>I don't know of any leaks. Got a bug report? Test case?
>
>
>
> Most common problem is not understanding
I don't know of any leaks. Got a bug report? Test case?
Most common problem is not understanding that only the keys are weak
referenced. The values are strong references.
Var obj:Object
Var dict:Dictionary
dict[obj] = 1; // weak reference
dict[1] = obj; // strong reference and memory leak
di
3 matches
Mail list logo