Skip to content

Unhandled Promise Rejection when reopening Mux #697

@blinkagent

Description

@blinkagent

Description

When attempting to reopen Mux, an "Unhandled Promise Rejection" error occurs with the message:

Attempted to register a second handler for 'update:check'

Stack Trace

Error: Attempted to register a second handler for 'update:check'
at IpcMainImpl.handle (node:electron/js2c/browser_init:2:109601)
at createWindow (/Applications/mux.app/Contents/Resources/app.asar/src/desktop/main.ts:384:19)
at /Applications/mux.app/Contents/Resources/app.asar/src/desktop/main.ts:559:9

Steps to Reproduce

  1. Open Mux
  2. Close Mux
  3. Attempt to reopen Mux
  4. Error dialog appears
  5. Application becomes unresponsive/stuck

Workaround

Force quitting the application resolves the issue temporarily.

Screenshots

Unhandled Promise Rejection Error
Application Stuck State

Environment

  • Application: Mux
  • Issue occurs when reopening the application

Metadata

Metadata

Assignees

No one assigned

    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