zigster64 / zig-zag-zoe

Multiplayer TicTacToe - in Zig - using HTMX for that zero-javascript experience
http://zig-zag-zoe.com
MIT License
21 stars 1 forks source link

kill stale event loops #9

Closed zigster64 closed 1 year ago

zigster64 commented 1 year ago

Need a way of signalling all existing event handlers to be terminated

.. i think anyway, might need to check whether this is happening automatically when the client end goes away

zigster64 commented 1 year ago

soon as the client goes away, the next state change will cause the eventThread for that dead client to exit due to a write error ... so nothing to do here