Details
Description
When ace:submitMonitor and ice:outputConnectionStatus register for the connection listeners, there's no means for them to de-register from the listeners, when the components clean themselves up when they're removed from the page. This causes a memory leak, and requires the listener methods to flag themselves as defunct, so they'll just return when called, instead of simply being de-registered.
Modified callback registration functions to return un-registering callback function. When this function is invoked the corresponding callback is removed from the list of registered callbacks.
For example: