gameServer/ClientIO.hs
changeset 5012 8767878e08e2
parent 5011 73c5839d4447
child 5030 42746c5d4a80
--- 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