()
| 460 | this._modalContext = options.context; |
| 461 | this._closeModalCallback = (...originalArgs) => { |
| 462 | const cleanupModalViews = () => { |
| 463 | const modalIndex = _rootModalViews.indexOf(this); |
| 464 | if (modalIndex > -1) { |
| 465 | _rootModalViews.splice(modalIndex, 1); |
| 466 | } |
| 467 | |
| 468 | this._modalParent = null; |
| 469 | this._modalContext = null; |
| 470 | this._closeModalCallback = null; |
| 471 | this._dialogClosed(); |
| 472 | parent._modal = null; |
| 473 | }; |
| 474 | |
| 475 | const whenClosedCallback = () => { |
| 476 | const transitionState = SharedTransition.getState(this.transitionId); |
no test coverage detected