mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
ipc fix
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
This commit is contained in:
parent
e062175343
commit
add376510a
@ -35,7 +35,7 @@ export async function broadcastMessage(channel: string, ...args: any[]) {
|
|||||||
} else {
|
} else {
|
||||||
subFrames = await getSubFrames();
|
subFrames = await getSubFrames();
|
||||||
}
|
}
|
||||||
const views = (webContents || remote.webContents)?.getAllWebContents();
|
const views = (webContents || remote?.webContents)?.getAllWebContents();
|
||||||
|
|
||||||
if (!views) return;
|
if (!views) return;
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user