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

        Mark Collette created issue -
        Mark Collette made changes -
        Field Original Value New Value
        Assignee Mark Collette [ mark.collette ]
        Mark Collette made changes -
        Link This issue blocks ICE-9289 [ ICE-9289 ]
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #35690 Sun Jun 02 00:02:29 MDT 2013 mark.collette ICE-9309 : ace:submitMonitor leaking memory
        Files Changed
        Commit graph MODIFY /icefaces3/trunk/icefaces/ace/component/resources/icefaces.ace/submitmonitor/submitmonitor.js
        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
        Mark Collette made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Ken Fyten made changes -
        Security Private [ 10001 ]
        Ken Fyten made changes -
        Fix Version/s 4.0 [ 11382 ]
        Ken Fyten made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved: