Skip to content

Webview crash recovery (render-process-gone handler) #13

Description

@GyaneshSamanta

Problem

If a webview's renderer process crashes (OOM, GPU issue), the pane goes blank with no recovery path. Electron emits `render-process-gone` but we don't handle it.

Proposed approach

  • Listen for `render-process-gone` on each webview.
  • Show the existing error overlay (from v3) with a "Reload pane" button.
  • Optionally log the crash reason via console.

Files to touch

  • `src/renderer.js` — webview event listeners

Acceptance criteria

  • Killing a webview's renderer via DevTools surfaces the error overlay.
  • Clicking Reload restores the pane.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:webviewEmbedded NotebookLM webview integrationenhancementNew feature or requestgood first issueGood for newcomers

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions