summaryrefslogtreecommitdiff
path: root/csharp/src
diff options
context:
space:
mode:
authorMark Spruiell <mes@zeroc.com>2015-09-08 11:07:58 -0700
committerMark Spruiell <mes@zeroc.com>2015-09-08 11:07:58 -0700
commitc85c7e4639f6acc7f88810fa0333e3804a64eac2 (patch)
tree0182b0b291b973dfe85064123207d36313357e46 /csharp/src
parentFix for TCH-259 - assert on shutdown (diff)
downloadice-c85c7e4639f6acc7f88810fa0333e3804a64eac2.tar.bz2
ice-c85c7e4639f6acc7f88810fa0333e3804a64eac2.tar.xz
ice-c85c7e4639f6acc7f88810fa0333e3804a64eac2.zip
ICE-6796 - Socket exception causes Unity hang
Diffstat (limited to 'csharp/src')
-rw-r--r--csharp/src/Ice/Network.cs2
1 files changed, 2 insertions, 0 deletions
diff --git a/csharp/src/Ice/Network.cs b/csharp/src/Ice/Network.cs
index 199dae9b8c0..9cbc6f7e212 100644
--- a/csharp/src/Ice/Network.cs
+++ b/csharp/src/Ice/Network.cs
@@ -166,6 +166,7 @@ namespace IceInternal
return connectionLost(ex.InnerException as SocketException);
}
+#if !UNITY
//
// In other cases the IOException has no inner exception. We could examine the
// exception's message, but that is fragile due to localization issues. We
@@ -185,6 +186,7 @@ namespace IceInternal
{
return true;
}
+#endif
return false;
}