davorian / flexible-chimp

Automatically exported from code.google.com/p/flexible-chimp
0 stars 0 forks source link

ChimpActionCache causes memory leaks #2

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
ChimpActionCache contains various lists of ChimpActions, which contains the
UIComponent. This causes the UIComponent never to get garbage collected.

Original issue reported on code.google.com by bautista...@gmail.com on 17 Dec 2009 at 9:17

GoogleCodeExporter commented 9 years ago
I was able to fix it by using a Dictionary with weak object keys. This might 
not be
the cleanest approach but it got me past the leaks fast. 
I attached the updated file if you are interested...

Original comment by bautista...@gmail.com on 24 Dec 2009 at 6:12

Attachments: