Files
mac_without_borders/Sources
lucioandClaude Opus 5 02df633a01 app-engine: say ByeBye on SIGTERM/SIGINT/SIGHUP too
QA finding 3. contracts C2's last row promises the sockets send `ByeBye`
however the process ends, and the signal path only released the keys and
the pointer. `ControlChannel` is `Sendable` and each of its methods hops
to its own serial queue, so the handler can hold the channel and queue
the goodbye itself without waking the Engine actor — which the header
comment on `EmergencyRelease` forbids, and rightly. The 150 ms wait
afterwards is the same grace `Engine.stop()` gives the packet
(`InitAndCleanup.cs:192-215`); it is best effort, and it runs after the
keys are already back.

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
2026-09-16 03:56:14 -07:00
..