@ -323,7 +323,7 @@ export class WindowMain {
}
private async updateWindowState(configKey: string, win: BrowserWindow) {
if (win == null) {
if (win == null || win.isDestroyed()) {
return;