src/sap.ui.core/src/sap/ui/thirdparty/signals.js
function (listener, context) {
            validateListener(listener, 'remove');

            var i = this._indexOfListener(listener, context);
            if (i !== -1) {
                this._bindings[i]._destroy(); //no reason to a SignalBinding exist if it isn't attached to a signal
                this._bindings.splice(i, 1);
            }
            return listener;
        }
function (listener, context) {
            validateListener(listener, 'remove');

            var i = this._indexOfListener(listener, context);
            if (i !== -1) {
                this._bindings[i]._destroy(); //no reason to a SignalBinding exist if it isn't attached to a signal
                this._bindings.splice(i, 1);
            }
            return listener;
        }
function ( listener , context ) { validateListener ( listener , 'remove' ) ; var i = this . _indexOfListener ( listener , context ) ; if ( i !== - 1 ) { this . _bindings [ i ] . _destroy ( ) ; //no reason to a SignalBinding exist if it isn't attached to a signal this . _bindings . splice ( i , 1 ) ; } return listener ; }
Remove a single listener from the dispatch queue.
@param {Function} listener Handler function that should be removed.
@param {Object} [context] Execution context (since you can add the same handler multiple times if executing in a different context).
@return {Function} Listener handler function.
Remove a single listener from the dispatch queue .