Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

Document

Manav Rathi13542c1511f7
diff --git a/desktop/src/main.ts b/desktop/src/main.ts
index cc1798ae0d..a8a8a56101 100644
--- a/desktop/src/main.ts
+++ b/desktop/src/main.ts
@@ -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",