summaryrefslogtreecommitdiff
path: root/csharp/src
diff options
context:
space:
mode:
Diffstat (limited to 'csharp/src')
-rw-r--r--csharp/src/Ice/ProxyFactory.cs9
1 files changed, 5 insertions, 4 deletions
diff --git a/csharp/src/Ice/ProxyFactory.cs b/csharp/src/Ice/ProxyFactory.cs
index 178d073150b..64c357a333a 100644
--- a/csharp/src/Ice/ProxyFactory.cs
+++ b/csharp/src/Ice/ProxyFactory.cs
@@ -170,12 +170,13 @@ namespace IceInternal
throw ex;
}
-
//
- // Don't retry if the communicator is destroyed or object adapter
- // deactivated.
+ // Don't retry if the communicator is destroyed, object adapter is deactivated,
+ // or connection is manually closed.
//
- if(ex is Ice.CommunicatorDestroyedException || ex is Ice.ObjectAdapterDeactivatedException)
+ if(ex is Ice.CommunicatorDestroyedException ||
+ ex is Ice.ObjectAdapterDeactivatedException ||
+ ex is Ice.ConnectionManuallyClosedException)
{
throw ex;
}