Commit Graph

2 Commits

Author SHA1 Message Date
sudacode 4c63f7e3b0 fix(sync): decode multibyte output correctly and settle on exit drain
- Use StringDecoder to avoid corrupting multibyte chars (e.g. Japanese titles) split across stdout/stderr chunks
- Settle a run within EXIT_DRAIN_MS (2s) after child exit when no terminal NDJSON arrives, instead of waiting on `close` that retained pipes can withhold indefinitely
2026-07-13 00:09:11 -07:00
sudacode 8c97b48721 fix(sync-ui): quit reliably after standalone sync window closes
- Re-issue post-cleanup quit via setImmediate so Electron doesn't drop it while unwinding the prevented quit
- Use requestAppQuit (not app.quit) on sync window close for forced-exit fallback coverage
- Settle cancelled/timed-out runs immediately when child already exited to avoid hanging on close held open by descendants
2026-07-12 23:59:20 -07:00