socket.io-haskell
socket.io-haskell copied to clipboard
Session not found after server restart in GHCi
How to reproduce
- Fire up a
socketioserver inghci - Press
ctrl-cto interrupt - Fire up the server again
- Connect the server with a client
Then check the log, there should be a warning
... Warn [Connect] Session not found
Cause
Threads not terminated when process got interrupted by a SIGINT.