if(this._beingDestroyed){ return; } // make sure we call onUnload this._onUnloadHandler(); this._beingDestroyed = true; this.inherited("destroy",arguments);