[flexcoders] RE: Dictionary memory leak

2009-02-15 Thread Alex Harui
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

Re: [flexcoders] RE: Dictionary memory leak

2009-02-15 Thread Josh McDonald
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 aha...@adobe.com wrote: I don't know of any leaks. Got a bug report? Test case? Most common problem is not

RE: [flexcoders] RE: Dictionary memory leak

2009-02-15 Thread Gregor Kiddie
[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 problems with it (Player 10, Mac