You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flex.apache.org by "Michael Rochelle (JIRA)" <ji...@apache.org> on 2013/02/24 03:42:12 UTC
[jira] [Created] (FLEX-33412) NativeDragManagerImpl prevents
objects from being garbage collected.
Michael Rochelle created FLEX-33412:
---------------------------------------
Summary: NativeDragManagerImpl prevents objects from being garbage collected.
Key: FLEX-33412
URL: https://issues.apache.org/jira/browse/FLEX-33412
Project: Apache Flex
Issue Type: Bug
Components: Drag and Drop
Affects Versions: Apache Flex 4.9.0
Reporter: Michael Rochelle
Priority: Minor
The mx.managers.NativeDragManagerImpl class adds a reference to the target in the private _relatedObject property during a dragDrop event. It appears that it does this so that it can construct a dragComplete event with this property.
During dragComplete after the _relatedObject is passed to the event, the _relatedObject is never set to null.
This causes the view to remain in memory until another native drag occurs to push it out with another object. This may never occur preventing the views from being garbage collected.
--
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