mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
skip if webContents is not defined
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
This commit is contained in:
1 parent
fc241d1066
commit
492376070e
1 file changed
+1
-1
@@ -34,7 +34,7 @@ export async function broadcastMessage(channel: string, ...args: any[]): Promise
|
||||
return requestMain(broadcastMainChannel, channel, ...args);
|
||||
}
|
||||
|
||||
if (!ipcMain) {
|
||||
if (!webContents) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user