Fix listener thread listening after the server process was stopped
authorLuke Lau <luke_lau@icloud.com>
Thu, 14 May 2020 20:18:13 +0000 (21:18 +0100)
committerLuke Lau <luke_lau@icloud.com>
Thu, 14 May 2020 20:18:13 +0000 (21:18 +0100)
Therefore fixes hGetLine: illegal operation (handle is closed)
exceptions, because the handles were being closed whilst the listener
thread was still reading from them.

Fixes #66


No differences found