Merge pull request #4519 from pchote/network-crash

Catch IOExceptions in Connection.cs.
This commit is contained in:
Matthias Mailänder
2014-01-31 00:55:33 -08:00

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;