Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
This commit is contained in:
Jari Kolehmainen committed 2021-01-25 07:39:16 +02:00
1 parent e062175343
commit add376510a
1 file changed
+1 -1
+1 -1
View File
@@ -35,7 +35,7 @@ export async function broadcastMessage(channel: string, ...args: any[]) {
} else {
subFrames = await getSubFrames();
}
const views = (webContents || remote.webContents)?.getAllWebContents();
const views = (webContents || remote?.webContents)?.getAllWebContents();
if (!views) return;