[
https://issues.apache.org/jira/browse/FLEX-22022?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13689228#comment-13689228
]
Justin Mclean commented on FLEX-22022:
--------------------------------------
May of been improved in Apache Flex 4.10 (event handlers are removed)
> MenuBar memory leaks
> --------------------
>
> Key: FLEX-22022
> URL: https://issues.apache.org/jira/browse/FLEX-22022
> Project: Apache Flex
> Issue Type: Bug
> Components: mx: Menu Bar
> Affects Versions: Adobe Flex SDK 3.2 (Release)
> Environment: Affected OS(s): All OS Platforms
> Affected OS(s): All OS Platforms
> Language Found: English
> Reporter: Adobe JIRA
>
> Steps to reproduce:
> 1. Profile the attached sample test application
> 2. Take memory snapshot #1
> 3. Click the button to add the MenuBar to the display list
> 4. Use the menu bar (expand to see the menu items etc)
> 5. Click button to remove the MenuBar from the display list
> 6. Take memory snapshot #2
>
> Actual Results:
> MenuBar is not garbage collected. If you check the loitering objects using
> the 2 snapshots, you can see everything stays live in memory: MenuBar,
> MenuItemRenderer etc
>
> Expected Results:
> MenuBar is garbage collected
>
> Workaround (if any):
> could not find any
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira