src/sap.ui.core/src/sap/ui/core/routing/Targets.js
function () {
				var sTargetName;
				EventProvider.prototype.destroy.apply(this);

				for (sTargetName in this._mTargets) {
					if (this._mTargets.hasOwnProperty(sTargetName)) {
						this._mTargets[sTargetName].destroy();
					}
				}

				this._mTargets = null;
				this._oCache = null;
				this._oConfig = null;
				this.bIsDestroyed = true;

				return this;
			}
function () {
				var sTargetName;
				EventProvider.prototype.destroy.apply(this);

				for (sTargetName in this._mTargets) {
					if (this._mTargets.hasOwnProperty(sTargetName)) {
						this._mTargets[sTargetName].destroy();
					}
				}

				this._mTargets = null;
				this._oCache = null;
				this._oConfig = null;
				this.bIsDestroyed = true;

				return this;
			}
function ( ) { var sTargetName ; EventProvider . prototype . destroy . apply ( this ) ; for ( sTargetName in this . _mTargets ) { if ( this . _mTargets . hasOwnProperty ( sTargetName ) ) { this . _mTargets [ sTargetName ] . destroy ( ) ; } } this . _mTargets = null ; this . _oCache = null ; this . _oConfig = null ; this . bIsDestroyed = true ; return this ; }
Destroys the targets instance and all created targets. Does not destroy the views instance passed to the constructor. It has to be destroyed separately.
@public
@returns { sap.ui.core.routing.Targets } this for chaining.
Destroys the targets instance and all created targets . Does not destroy the views instance passed to the constructor . It has to be destroyed separately .