mirror of
https://github.com/AgentSeal/codeburn.git
synced 2026-11-24 13:57:02 +00:00
The single-instance plugin hands a second launch over with a synchronous SendMessage, so that launch sits inside it until the running app's callback returns. When the message landed while the first launch was still in setup, the callback showed the dock from inside a nested message pump, waited on an event loop that was not running yet, and never returned; every launch after it, the desktop app's --quit included, blocked behind the same message and piled up as processes with no windows. The callback now only records the request and carries it out from the event loop. The desktop companion also waits, briefly, for a quit it has just sent to finish before starting the tray app again, because a launch that arrives while the old process is still going hands its request to that process and exits with it. |
||
|---|---|---|
| .. | ||
| dist | ||
| Scripts | ||
| src | ||
| src-tauri | ||
| .gitignore | ||
| DEVELOPMENT.md | ||
| index.html | ||
| package-lock.json | ||
| package.json | ||
| tokens.json | ||
| tsconfig.json | ||
| vite.config.ts | ||