summaryrefslogtreecommitdiffhomepage
path: root/WebSockets.hs
diff options
context:
space:
mode:
Diffstat (limited to 'WebSockets.hs')
-rw-r--r--WebSockets.hs1
1 files changed, 1 insertions, 0 deletions
diff --git a/WebSockets.hs b/WebSockets.hs
index 00f762a..7cb140b 100644
--- a/WebSockets.hs
+++ b/WebSockets.hs
@@ -100,6 +100,7 @@ clientApp mode recentactivity mksent filterreceived a conn = do
-- Wait for any more data from the server.
-- These often die with a ConnectionClosed.
void $ waitCatch sthread
+ cancel rthread
void $ waitCatch rthread
go sid (schan, rchan, _, _) = a schan rchan sid