From 06be4d3efd8bec4f78f9da15883909e6f49ca21d Mon Sep 17 00:00:00 2001 From: Paul Chote Date: Fri, 31 Jan 2014 15:41:32 +1300 Subject: [PATCH] Catch IOExceptions in Connection.cs. Closes #4083. Closes #4423. --- OpenRA.Game/Network/Connection.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/OpenRA.Game/Network/Connection.cs b/OpenRA.Game/Network/Connection.cs index 8535621f73..8c0d964c14 100755 --- a/OpenRA.Game/Network/Connection.cs +++ b/OpenRA.Game/Network/Connection.cs @@ -188,6 +188,7 @@ namespace OpenRA.Network catch (SocketException) { /* drop this on the floor; we'll pick up the disconnect from the reader thread */ } catch (ObjectDisposedException) { /* ditto */ } catch (InvalidOperationException) { /* ditto */ } + catch (IOException) { /* ditto */ } } bool disposed = false;