Uploaded image for project: 'Apache Flex'
  1. Apache Flex
  2. FLEX-33412

NativeDragManagerImpl prevents objects from being garbage collected.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • Apache Flex 4.9.0
    • None
    • Drag and Drop
    • None

    Description

      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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            elitescientist Michael Rochelle
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: