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

Resource bundles causes module to leak

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • Adobe Flex SDK Previous
    • None
    • Modules
    • None
    • Affected OS(s): All OS Platforms
      Language Found: English

    Description

      Steps to reproduce:
      1. Run the attached ResourceBundleLeakFix app with the profiler.
      2. Click on Load Module Module
      3. Click on UnLoad Module
      4. repeat steps #2 and #3 couple of times.
      5. Press the gc button in the application to force a garbage collection.
      6. Watch instance count for _ImageModule2_mx_core_FlexModuleFactory

      Actual Results:
      instance count is greater than zero

      Expected Results:
      Module should get unloaded and instance count should be zero

      Workaround (if any):
      Uncomment the ResourceBundle related metadata in the main app. This would pull all resource bundles into the main app and the module will be able to unload correctly.

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment