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

BitmapFill doesn't destroy BitmapData if source is Class

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • Adobe Flex SDK 4.5 (Release)
    • None
    • None
    • Affected OS(s): All OS Platforms
      Affected OS(s): All OS Platforms
      Language Found: English

    Description

      From Ely:

      I noticed that in the set source function of BitmapImage, when we are passed a class that we instantiate, we remember that we've created the bitmap data ourselves, even if the class is a Bitmap. But in BitmapFill set source, we don't do that (only when the instiated class instance is a sprite that needs to be blitted into a bitmap data). Is that a potential memory leak?

      Solution: BitmapFill should set bitmapCreated = true if the source is a class.

      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: