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

ComboBox Memory Leak

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • Adobe Flex SDK 3.5 (Release)
    • None
    • mx: ComboBox
    • None
    • Affected OS(s): All OS Platforms
      Browser: Firefox 3.x
      Language Found: English

    Description

      Steps to reproduce:
      1. Run the TestProject2.mxml in the profiler mode
      2. Click on Add test instance button
      3. Click on the combobox to expand the menu
      4. Click outside of the list whitout selecting an item
      5. Click on the Remove test instance button
      6. Run the GC in the profiler perspective

      Actual Results:
      TestInstance2 stuck in memory
      Each time you repeat this sequence you keep all the combobox's parents and itself in memory.

      Expected Results:
      Combobox and it's parent should be garbage collected, like in sdk 3.4

      Workaround (if any):
      Extend the combobox and override the close method as follow:
      override public function close(trigger:Event = null):void

      { super.close(trigger); PopUpManager.removePopUp(super.dropdown); }

      In ComboBox.as, line 2067 not triggered when we click ouside of the dropdown.

      Attachments

        Activity

          People

            adobejira Adobe JIRA
            adobejira Adobe JIRA
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: