Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Cannot Reproduce
-
Adobe Flex SDK 3.0 (Release)
-
None
-
None
-
Affected OS(s): All OS Platforms
Affected OS(s): All OS Platforms
Language Found: English
Description
Steps to reproduce:
1. Run the attached sample application in the profiler with memory profiling set to true
2. Click on the Open Window button to open the title window as a modal popup. You will see the SampleComponent come up in the profiler
3. Now close the popup by clicking the Close Button
4. run the garbage collector in the profiler.
Actual Results:
The SampleComponent continues to exist. Take a memory snapshot, the SampleComponent is still there
Expected Results:
SampleComponent should have been garbage collected as there is no other object referencing it
Workaround (if any):
The garbage collector is not picking up the fact that we are setting the variable 'win' to null in the main application. If we don't keep an instance of the opened window in the main app and close the window from within the SampleComponent, it seems to work sometimes