src/aria/utils/Bridge.js
function () {
            var subWindow = this._subWindow;
            if (subWindow) {
                this._subWindow = null;
                if (!subWindow.closed) {
                    if (this._rootTplCtxtRef) {
                        this._rootTplCtxtRef.$dispose();
                    }
                    if (this._moduleCtrlRef) {
                        this._moduleCtrlRef.$dispose();
                    }
                    subWindow.close();
                }
                this._moduleCtrlRef = null;
                this._rootTplCtxtRef = null;

                ariaUtilsAriaWindow.$unregisterListeners(this);
                ariaUtilsAriaWindow.detachWindow();

                this.isOpen = false;
            }
        }
function () {
            var subWindow = this._subWindow;
            if (subWindow) {
                this._subWindow = null;
                if (!subWindow.closed) {
                    if (this._rootTplCtxtRef) {
                        this._rootTplCtxtRef.$dispose();
                    }
                    if (this._moduleCtrlRef) {
                        this._moduleCtrlRef.$dispose();
                    }
                    subWindow.close();
                }
                this._moduleCtrlRef = null;
                this._rootTplCtxtRef = null;

                ariaUtilsAriaWindow.$unregisterListeners(this);
                ariaUtilsAriaWindow.detachWindow();

                this.isOpen = false;
            }
        }
function ( ) { var subWindow = this . _subWindow ; if ( subWindow ) { this . _subWindow = null ; if ( ! subWindow . closed ) { if ( this . _rootTplCtxtRef ) { this . _rootTplCtxtRef . $dispose ( ) ; } if ( this . _moduleCtrlRef ) { this . _moduleCtrlRef . $dispose ( ) ; } subWindow . close ( ) ; } this . _moduleCtrlRef = null ; this . _rootTplCtxtRef = null ; ariaUtilsAriaWindow . $unregisterListeners ( this ) ; ariaUtilsAriaWindow . detachWindow ( ) ; this . isOpen = false ; } }
Close subwindow and restore environment
Close subwindow and restore environment