Fixed: A crash when the host disconnects

This commit is contained in:
geckosoft
2010-11-01 05:12:29 +01:00
committed by Chris Forbes
parent 298314626e
commit 6276e659cd

View File

@@ -187,6 +187,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 */ }
}
bool disposed = false;