diff options
| author | gbc dev <gbc@localhost> | 2026-07-15 01:42:34 +0200 |
|---|---|---|
| committer | gbc dev <gbc@localhost> | 2026-07-15 01:42:34 +0200 |
| commit | 2d39cb0b3ff9851e9872b3eb1f1324bde6910a1c (patch) | |
| tree | 6094106082817288518b2b98e62d4073a10d3776 /src/control.h | |
| parent | tools: live debug HUD (gbhud.py) + 'gbctl hud' (diff) | |
| download | sl0pboy-2d39cb0b3ff9851e9872b3eb1f1324bde6910a1c.tar.gz sl0pboy-2d39cb0b3ff9851e9872b3eb1f1324bde6910a1c.tar.xz sl0pboy-2d39cb0b3ff9851e9872b3eb1f1324bde6910a1c.zip | |
fix(control): ignore SIGPIPE so a vanishing client can't kill the emulator
A client that connects and closes before reading (e.g. the HUD's liveness
probe) made the greeting write() raise SIGPIPE, terminating the whole emulator
- this was behind much of the 'it keeps dying' this session. Also: gbhud now
re-resolves the live instance from the registry on every reconnect (skipping
stale sockets by test-connecting), so the HUD follows respawns, and its box
rendering is ANSI-width-correct.
Diffstat (limited to 'src/control.h')
0 files changed, 0 insertions, 0 deletions
