diff options
Diffstat (limited to 'js/src/Ice/ProxyFactory.js')
-rw-r--r-- | js/src/Ice/ProxyFactory.js | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/js/src/Ice/ProxyFactory.js b/js/src/Ice/ProxyFactory.js index 15ae4d1aa13..169a70cef7a 100644 --- a/js/src/Ice/ProxyFactory.js +++ b/js/src/Ice/ProxyFactory.js @@ -241,6 +241,15 @@ var ProxyFactory = Ice.Class({ } // + // Don't retry if the communicator is destroyed or object adapter + // deactivated. + // + if(ex instanceof Ice.CommunicatorDestroyedException || ex instanceof Ice.ObjectAdapterDeactivatedException) + { + throw ex; + } + + // // Don't retry invocation timeouts. // if(ex instanceof Ice.InvocationTimeoutException) |