Skip to content

Uncaught Exception: TypeError: Object has been destroyed in BrowserWindow #30493

Closed as not planned

Description

@yaochuan

Description

Uncaught Exception:
TypeError: Object has been destroyed
at BrowserWindow. (file:///Applications/OpenCode.app/Contents/Resources/app.asar/out/main/index.js:1313:76)
at BrowserWindow.emit (node:events:508:28)
at WebContents. (node:electron/js2c/browser_init:2:18879)
at WebContents.emit (node:events:508:28)
at file:///Applications/OpenCode.app/Contents/Resources/app.asar/out/main/index.js:2416:11
at
at process.processTicksAndRejections (node:internal/process/task_queues:104:5)

Plugins

No response

OpenCode version

v1.15.13
No response

Steps to reproduce

No response

Screenshot and/or share link

No response

Operating System

mac
No response

Terminal

No response

Activity

  1. github-actions commented on Jun 3, 2026

    @github-actions
    Contributor

    This issue doesn't fully meet our contributing guidelines.

    What needs to be fixed:

    • Required fields are missing: OpenCode version, Steps to reproduce, Operating System, and Terminal are all left as _No response_. Please provide this information so the issue can be investigated.
    • The description only contains a stack trace with no context about what you were doing when the error occurred, how to reproduce it, or how often it happens.

    Please edit this issue to address the above within 2 hours, or it will be automatically closed.


    This issue might be a duplicate of existing issues. Please check:

    If you believe this was flagged incorrectly, please let a maintainer know.

  2. github-actions commented on Jun 3, 2026

    @github-actions
    Contributor

    Thank you for updating the issue with your OS and OpenCode version — that helps!

    However, this bug report still needs a bit more information before it can be investigated:

    • Steps to reproduce is still empty. Please describe what you were doing when this error occurred — for example, what action triggered it, how often it happens, or any steps that reliably reproduce it.

    Even a brief description like "this happens when I close the window while a session is loading" would be very helpful. Please edit the issue to add this context.

  3. github-actions commented on Jun 3, 2026

    @github-actions
    Contributor

    This issue has been automatically closed because it was not updated to meet our contributing guidelines within the 2-hour window.

    Feel free to open a new issue that follows our issue templates.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions