Files
fQwQf 0345103edd client/systray: shut down cleanly on termination signals (#22583)
Route SIGINT and SIGTERM through systray.Quit so the native tray loop
returns and invokes the exit callback. Stop signal delivery when Run returns.

Treat watcher cancellation as normal shutdown rather than terminating the
process with log.Fatal, and interrupt the reconnect delay when canceled.
Serialize exit cleanup with menu rebuilds.

Add subprocess tests for SIGINT, SIGTERM and the Quit menu action using a
private session bus and a fake LocalAPI.

Fixes #22582

Change-Id: I2360e203d4cc9bf3f0245133e9535d353b780e2c

Signed-off-by: fQwQf <[email protected]>
2026-11-23 09:25:34 -06:00
..