Ahh, never mind. all my pop up windows extend a custom TitleWindow class which was defining an eventListener that was not getting cleaned up. All my windows are garbage collecting now.
Sorry for the bother! ~Aaron On Thu, Mar 27, 2008 at 3:05 PM, Aaron Miller < [EMAIL PROTECTED]> wrote: > Hello, > > I just started playing around with the Flex 3 profiler and I noticed that > every time I open a pop up window, the number of instances keep increasing. > I was aware that I had to remove any event listeners when closed, but is > there more to it then that? I am worried because I have quite a bit of > custom window components, most of which reference various singleton classes. > Are these references keeping the window from being garbage collected? If so, > would it be enough to destroy the references like this? > > private var myAuthUser:AuthUser = AuthUser.getInstance(); > > on close: > myAuthUser = null; > > > Is there anything else I need to be careful of when using TitleWindows? > > > Thanks for any input! > ~Aaron > -- Aaron Miller Chief Technology Officer Open Base Interactive, LLC. [EMAIL PROTECTED] http://www.openbaseinteractive.com