* Safely close all sub windows
()
| 468 | * Safely close all sub windows |
| 469 | */ |
| 470 | closeAllSubWin() { |
| 471 | for ( const thisWin in this.win ) { |
| 472 | if ( thisWin !== 'main' && this.isValid(thisWin) ) { |
| 473 | this.win[thisWin].destroy() |
| 474 | } |
| 475 | } |
| 476 | } |
| 477 | |
| 478 | closeAllMultiWin () { |
| 479 | for ( const thisWin in this.multiWin ) { |
no test coverage detected