No unblock needed
authorunc0rr
Mon, 14 Mar 2011 20:08:53 +0300
changeset 5012 8767878e08e2
parent 5011 73c5839d4447
child 5013 04789ba3f200
No unblock needed
gameServer/ClientIO.hs
--- a/gameServer/ClientIO.hs	Mon Mar 14 20:04:51 2011 +0300
+++ b/gameServer/ClientIO.hs	Mon Mar 14 20:08:53 2011 +0300
@@ -47,7 +47,7 @@
 
 clientRecvLoop :: Socket -> Chan CoreMessage -> ClientIndex -> IO ()
 clientRecvLoop s chan ci =
-        (Exception.unblock $ listenLoop s chan ci >> return "Connection closed") `catch` (return . B.pack . show) >>= clientOff >> remove
+        (listenLoop s chan ci >> return "Connection closed") `catch` (return . B.pack . show) >>= clientOff >> remove
     where
         clientOff msg = writeChan chan $ ClientMessage (ci, ["QUIT", msg])
         remove = writeChan chan $ Remove ci