Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
Adobe Flex SDK 4.1 (Release)
-
None
-
None
-
Affected OS(s): Windows
Affected OS(s): Windows
Language Found: English
Description
Steps to reproduce:
1. Start the attached application in Profiler
2. Click "Add component"
3. Click "Remove component"
4. Run Garbage Collector in Flash Profiler a few times
Actual Results:
The added component (ExampleView) as well as the TextInput within the ExampleView hasn't been garbage collected.
Expected Results:
The ExampleView and TextInput should have been garbage collected since there shouldn't be any references.
If you execute steps 2 and 3 multiple times all except one instance of ExampleView and TextInput get garbage collected.
—
Steps to reproduce:
1. Start the attached application in Profiler
2. Click "Add component"
3. Click "Remove component and its children"
4. Run Garbage Collector in Flash Profiler a few times
Actual Results:
The added component (ExampleView) has been garbage collected. The TextInput is still in memory.
Expected Results:
The ExampleView and TextInput should have been garbage collected since there shouldn't be any references.
If you execute steps 2 and 3 multiple times all except one instance of TextInput get garbage collected.
—
I reproduced the bug with a Group component instead of TitleWindow as ExampleView as well as a Button instead of a TextInput. It looks like the child components stop the GC from collecting the containers.