Hello,

I am trying for days to figure out why the GC does not do it's work when
my plain mx:DataGrid uses a custom item renderer in one of it's columns
(plain mx:DataGridColumn object) that represents a plain mx:Image image.

When the DataGrid is removed from the display list, Flex Profiler
reports it is still lives in memory, along with all item renderer
instances, the columns (all the datagrid classes are still alive) , and
including the Image instances etc.

IF I REMOVE the Image column from the DataGrid in source code and try
again, everything is been garbage collected. So it clearly has to do
with that column and in particular with the Image.

Any ideas? I tried already tons of things, with no success, including
doing image.source = null, or image.load(null) in an "remove" event
handler in item renderer code etc.

Please help!

Reply via email to