potentially fix config corruption - #5355, #7874

This commit is contained in:
Eugene Pankov
2023-02-04 09:46:05 +01:00
parent 9e5c9ede44
commit 85bb7a2e95
2 changed files with 3 additions and 1 deletions

View File

@@ -169,7 +169,7 @@ export class Application {
broadcastExcept (event: string, except: WebContents, ...args: any[]): void {
for (const window of this.windows) {
if (window.webContents.id === except.id) {
if (window.webContents.id !== except.id) {
window.send(event, ...args)
}
}