ICEfaces
  1. ICEfaces
  2. ICE-9309

ace:submitMonitor leaking memory

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 3.3
    • Fix Version/s: EE-3.3.0.GA, 4.0.BETA, 4.0
    • Component/s: ACE-Components
    • Labels:
      None
    • Environment:
      ACE

      Description

      The ace:submitMonitor needs to make use of the new APIs for de-registering from its event handlers, and fully clean itself up, when removed from the page, or when the javascript object is updated.

        Activity

        Hide
        Mark Collette added a comment -

        Made use of the cleanup methods, nulled out some references when done, and cleaned up some of the console logging.

        Ran into an issue with the cleanup that because they're called within onElementUpdate, which happens in in the before update handling, that removing listeners from before update processing would be modifying the list while is was being iterated, and would cause an error. Had to move the cleanup ito a setTimeout to happen after the iteration.

        icefaces3 trunk
        Subversion 35690

        Show
        Mark Collette added a comment - Made use of the cleanup methods, nulled out some references when done, and cleaned up some of the console logging. Ran into an issue with the cleanup that because they're called within onElementUpdate, which happens in in the before update handling, that removing listeners from before update processing would be modifying the list while is was being iterated, and would cause an error. Had to move the cleanup ito a setTimeout to happen after the iteration. icefaces3 trunk Subversion 35690

          People

          • Assignee:
            Mark Collette
            Reporter:
            Mark Collette
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: