The AC will only remain in memory if there is a reference to it from
somewhere in the app.  If the TW is gone, so should the DG, and
therefore its reference to the AC.  If the AC was loaded into a var in
the main app it will stay around.  So, it depends on how you wrote your
code.

 

Note that GC is opportunistic so the AC may not be collected until much
later.

 

Green Grapes go pretty far and are less messy to clean up.

 

________________________________

From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of candysmate
Sent: Wednesday, August 29, 2007 7:45 AM
To: [email protected]
Subject: [flexcoders] Stupid question - get ready to throw fruit.

 

I use a titleWindow popup with a datagrid from which the user makes a
selection from a large database. When closed, does the selection
datagrid ArrayCollection sit around in memory? If so, what is the best
practice way of dealing with this please?

Ok, take aim and ........

 

Reply via email to