codeburn/app/electron
iamtoruk 9e2f140c91 fix(windows): a second launch no longer hangs the tray app or its callers
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.
2026-09-02 10:01:57 -07:00
..
quota fix(quota): Antigravity looks for its language server the Windows way 2026-09-02 07:00:22 -07:00
cli-win32-reap.test.ts fix: bound the serve drain, reap orphans on Windows, and de-flake the grace test 2026-08-22 10:36:58 -07:00
cli.test.ts test(app): give the orphan-reaping tests room too 2026-09-02 06:27:46 -07:00
cli.ts fix(app): the desktop app can spawn a CLI on Windows at all 2026-09-02 05:28:00 -07:00
main.test.ts feat(app): read and write the tray app's own settings 2026-09-02 06:28:05 -07:00
main.ts feat(app): read and write the tray app's own settings 2026-09-02 06:28:05 -07:00
menubar.test.ts fix(windows): a second launch no longer hangs the tray app or its callers 2026-09-02 10:01:57 -07:00
menubar.ts fix(windows): a second launch no longer hangs the tray app or its callers 2026-09-02 10:01:57 -07:00
preload.ts feat(app): read and write the tray app's own settings 2026-09-02 06:28:05 -07:00
telemetry.test.ts fix(telemetry): cap cli_error per kind per day, flush app_close on quit 2026-07-18 23:06:30 +03:00
telemetry.ts fix(telemetry): cap cli_error per kind per day, flush app_close on quit 2026-07-18 23:06:30 +03:00
tray-settings.test.ts feat(app): read and write the tray app's own settings 2026-09-02 06:28:05 -07:00
tray-settings.ts feat(app): read and write the tray app's own settings 2026-09-02 06:28:05 -07:00
updates.test.ts feat(app): update-available notifications 2026-07-17 04:58:13 -07:00
updates.ts feat(app): update-available notifications 2026-07-17 04:58:13 -07:00