socket.io-haskell icon indicating copy to clipboard operation
socket.io-haskell copied to clipboard

Session not found after server restart in GHCi

Open banacorn opened this issue 11 years ago • 1 comments

How to reproduce

  1. Fire up a socketio server in ghci
  2. Press ctrl-c to interrupt
  3. Fire up the server again
  4. 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.

banacorn avatar Mar 02 '14 17:03 banacorn

#2301 Proper handling of SIGINT/SIGQUIT

Let's see if this issue will be addressed in GHC 7.8.1.

banacorn avatar Mar 05 '14 17:03 banacorn