diff options
author | Mark Spruiell <mes@zeroc.com> | 2017-02-02 12:33:17 -0800 |
---|---|---|
committer | Mark Spruiell <mes@zeroc.com> | 2017-02-02 12:33:17 -0800 |
commit | d652dd90a69826d92a13f88a173fa3dbd2e17b76 (patch) | |
tree | 768db00699525be54f1d314909a90268eefedb20 /csharp/src/Ice/ProxyFactory.cs | |
parent | Reorder metrics on Server and Service (diff) | |
download | ice-d652dd90a69826d92a13f88a173fa3dbd2e17b76.tar.bz2 ice-d652dd90a69826d92a13f88a173fa3dbd2e17b76.tar.xz ice-d652dd90a69826d92a13f88a173fa3dbd2e17b76.zip |
Connection::close fixes for C#/Java/JS
Diffstat (limited to 'csharp/src/Ice/ProxyFactory.cs')
-rw-r--r-- | csharp/src/Ice/ProxyFactory.cs | 9 |
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; } |