mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Fix 'cannot read property hide of null' error on quit (#1594)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
This commit is contained in:
1 parent
432b00b8cc
commit
ac35bab987
2 files changed
+5
-5
No files matched your search
@@ -163,8 +163,8 @@ export class WindowManager extends Singleton {
|
||||
}
|
||||
|
||||
hide() {
|
||||
if (!this.mainWindow?.isDestroyed()) this.mainWindow.hide();
|
||||
if (!this.splashWindow.isDestroyed()) this.splashWindow.hide();
|
||||
if (this.mainWindow && !this.mainWindow.isDestroyed()) this.mainWindow.hide();
|
||||
if (this.splashWindow && !this.splashWindow.isDestroyed()) this.splashWindow.hide();
|
||||
}
|
||||
|
||||
destroy() {
|
||||
|
||||
Reference in new issue
Block a user