electron-log
Advanced tools
Comparing version 4.2.3 to 4.2.4
{ | ||
"name": "electron-log", | ||
"version": "4.2.3", | ||
"version": "4.2.4", | ||
"description": "Just a very simple logging module for your Electron application", | ||
@@ -5,0 +5,0 @@ "main": "src/index.js", |
@@ -207,3 +207,5 @@ 'use strict'; | ||
electron.BrowserWindow.getAllWindows().forEach(function (wnd) { | ||
wnd.webContents && wnd.webContents.send(channel, message); | ||
if (wnd.webContents && !wnd.webContents.isDestroyed()) { | ||
wnd.webContents.send(channel, message); | ||
} | ||
}); | ||
@@ -210,0 +212,0 @@ } |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
65106
1974