mirror of
https://github.com/bitwarden/browser
synced 2025-12-18 01:03:35 +00:00
null check windowMain.win
This commit is contained in:
@@ -62,6 +62,10 @@ export class MessagingMain {
|
||||
}
|
||||
|
||||
this.syncTimeout = global.setTimeout(() => {
|
||||
if (this.main.windowMain.win == null) {
|
||||
return;
|
||||
}
|
||||
|
||||
this.main.windowMain.win.webContents.send('messagingService', {
|
||||
command: 'checkSyncVault',
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user