static/ext/src/util/KeyMap.js
function(removeTarget) {
        var me = this,
            target = me.target;

        me.bindings = [];
        me.disable();
        if (removeTarget === true) {
            if (target.isComponent) {
                target.destroy();
            } else {
                target.remove();
            }
        }
        delete me.target;
    }
function(removeTarget) {
        var me = this,
            target = me.target;

        me.bindings = [];
        me.disable();
        if (removeTarget === true) {
            if (target.isComponent) {
                target.destroy();
            } else {
                target.remove();
            }
        }
        delete me.target;
    }
function ( removeTarget ) { var me = this , target = me . target ; me . bindings = [ ] ; me . disable ( ) ; if ( removeTarget === true ) { if ( target . isComponent ) { target . destroy ( ) ; } else { target . remove ( ) ; } } delete me . target ; }
Destroys the KeyMap instance and removes all handlers.
@param {Boolean} removeTarget True to also remove the {@link #target}
Destroys the KeyMap instance and removes all handlers .