src/sap.uxap/src/sap/uxap/component/Component.js
function () {
			if (this._oView) {
				this._oView.destroy();
				this._oView = null;
			}

			if (this._oModel) {
				this._oModel.destroy();
				this._oModel = null;
			}

			if (UIComponent.prototype.destroy) {
				UIComponent.prototype.destroy.call(this);
			}
		}
function () {
			if (this._oView) {
				this._oView.destroy();
				this._oView = null;
			}

			if (this._oModel) {
				this._oModel.destroy();
				this._oModel = null;
			}

			if (UIComponent.prototype.destroy) {
				UIComponent.prototype.destroy.call(this);
			}
		}
function ( ) { if ( this . _oView ) { this . _oView . destroy ( ) ; this . _oView = null ; } if ( this . _oModel ) { this . _oModel . destroy ( ) ; this . _oModel = null ; } if ( UIComponent . prototype . destroy ) { UIComponent . prototype . destroy . call ( this ) ; } }
destroy the view and model before exiting
destroy the view and model before exiting