parent
7c1207fb9a
commit
13542c1511
1 changed files with 2 additions and 0 deletions
|
@ -205,6 +205,8 @@ const createMainWindow = async () => {
|
|||
window.webContents.reload();
|
||||
});
|
||||
|
||||
// "The unresponsive event is fired when Chromium detects that your
|
||||
// webContents is not responding to input messages for > 30 seconds."
|
||||
window.webContents.on("unresponsive", () => {
|
||||
log.error(
|
||||
"Main window's webContents are unresponsive, will restart the renderer process",
|
||||
|
|
Loading…
Add table
Reference in a new issue