orca/.agents/skills/auto-pr-merge
Jinjing d9facf1b9c
fix: prevent app crash on macOS reactivation by deduplicating IPC handlers (#81)
When macOS re-activates the app after all windows are closed, `createWindow()` is called
again but IPC handlers from the previous window were still registered, causing duplicate
handler errors and crashes. This fix removes stale handlers before re-registering them
in pty, repos, and worktrees modules, and ensures repo/worktree handlers + auto-updater
are also set up on activate. Includes minor lint/style cleanups across the codebase.

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-23 23:44:12 -07:00
..
SKILL.md fix: prevent app crash on macOS reactivation by deduplicating IPC handlers (#81) 2026-03-23 23:44:12 -07:00