()
| 159 | let isHandlingFailedLoad = false |
| 160 | |
| 161 | const loadSite = () => { |
| 162 | terminalKeyboardCapture = false |
| 163 | mbExecutor.webContents.setIgnoreMenuShortcuts(false) |
| 164 | isHandlingFailedLoad = false |
| 165 | mbExecutor.loadURL(executorUrl) |
| 166 | } |
| 167 | |
| 168 | mbExecutor.webContents.on("did-fail-load", (_, errorCode: number, errorDescription: string, validatedURL: string, isMainFrame: boolean) => { |
| 169 | if (!isMainFrame) return |