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

NetConnection prevents GC unless an explicit .close() is called on it

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • Adobe Flex SDK 4.1 (Release)
    • None
    • Flash Integration
    • None
    • Affected OS(s): All OS Platforms
      Affected OS(s): All OS Platforms
      Language Found: English

    Description

      Steps to reproduce:
      1. Create a component that simply connects to an FMS server using a NetConnection
      2. Add and remove multiple copies of the component.

      Actual Results:
      The component sticks around even after being removed, due to the NetConnection.

      Expected Results:
      The component and its children should be GC'ed.

      Workaround (if any):
      Programmatically figure out when the component is being removed, and call the .close() function on NetConnection at that time.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated: