Catch IOExceptions in Connection.cs. Closes #4083. Closes #4423.

This commit is contained in:
Paul Chote
2014-01-31 15:41:32 +13:00
parent 7e8e427449
commit 06be4d3efd

View File

@@ -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;