ソースを参照

Document

Cite: https://github.com/electron/electron/issues/25640
Manav Rathi 1 年間 前
コミット
13542c1511
1 ファイル変更2 行追加0 行削除
  1. 2 0
      desktop/src/main.ts

+ 2 - 0
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",