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

Style declaration keeps object from getting garbage collected

    XMLWordPrintableJSON

Details

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

    Description

      Steps to reproduce:
      1. Import the attached flash builder 4 beta project
      2. Profile TestWithoutStyle application, after clicking on button run GC and check instances count on SimpleComponentWithoutStyle
      3. Profile TestWithStyle application, after clicking on button run GC and check instances count SimpleComponentWithStyle

      Actual Results:
      TestWithoutStyle correctly garbages collect the instance.
      TestWithStyle does not correctly garbage collect the instances because of a font size style declaration by the component.

      Expected Results:
      In both applications the instance should get correctly garbage collected. A simple font size style declaration by a component should not keep an object from getting garbage collected if there arent any more references to it.

      Workaround (if any):
      Dont know, maybe somehow remove the style from the component.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated: