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

TileList Renderers Remain in Memory

    XMLWordPrintableJSON

Details

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

    Description

      Steps to reproduce:
      1. Create a view with a TileList control
      2. Use a custom renderer
      3. Populate the control with data
      4. Remove the control from the view / stage (while profiling)

      Actual Results: item renderers used by the TileList remain in memory

      Expected Results: any/all item renderer instances should be collected

      Workaround (if any): pull TileBase.as from the 3.5 SDK into your project and change measuringObjects to public. Before removing the TileList control from a view clear selectedIndex, itemRenderer, set tileList.measuringObjects = new Dictionary(true), clear the data provider, and schedule the control to be removed in the next frame via callLater.

      Sample project attached to issue (TileList_Leak.fxp).

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated: