summaryrefslogtreecommitdiff
path: root/cpp/src
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src')
-rw-r--r--cpp/src/Ice/Proxy.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/cpp/src/Ice/Proxy.cpp b/cpp/src/Ice/Proxy.cpp
index ec4b3f25689..fd601088540 100644
--- a/cpp/src/Ice/Proxy.cpp
+++ b/cpp/src/Ice/Proxy.cpp
@@ -616,6 +616,13 @@ IceProxy::Ice::Object::__handleException(const LocalException& ex, int& cnt)
IceUtil::ThreadControl::sleep(IceUtil::Time::milliSeconds(retryIntervals[cnt - 1]));
}
}
+ else
+ {
+ //
+ // Impossible to retry after Communicator has been destroyed.
+ //
+ ex.ice_throw();
+ }
}
void