MCPcopy Create free account
hub / github.com/FSGModding/FSG_Mod_Assistant / closeAllSubWin

Method closeAllSubWin

lib/modAssist_window_lib.js:470–476  ·  view source on GitHub ↗

* Safely close all sub windows

()

Source from the content-addressed store, hash-verified

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 ) {

Callers 1

Calls 2

isValidMethod · 0.80
destroyMethod · 0.80

Tested by

no test coverage detected