From 6276e659cd394da29d54eef253983dc9900589f0 Mon Sep 17 00:00:00 2001 From: geckosoft Date: Mon, 1 Nov 2010 05:12:29 +0100 Subject: [PATCH] Fixed: A crash when the host disconnects --- 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 0d375830f0..e2bdfb75ff 100755 --- a/OpenRA.Game/Network/Connection.cs +++ b/OpenRA.Game/Network/Connection.cs @@ -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;