summaryrefslogtreecommitdiff
path: root/cpp/src/Ice/ProxyFactory.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/Ice/ProxyFactory.cpp')
-rw-r--r--cpp/src/Ice/ProxyFactory.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/cpp/src/Ice/ProxyFactory.cpp b/cpp/src/Ice/ProxyFactory.cpp
index 723442c30fa..4e5b67217fd 100644
--- a/cpp/src/Ice/ProxyFactory.cpp
+++ b/cpp/src/Ice/ProxyFactory.cpp
@@ -125,7 +125,11 @@ IceInternal::ProxyFactory::checkRetryAfterException(const LocalException& ex,
// We retry ObjectNotExistException if the reference is
// indirect.
//
- li->clearObjectCache(ref);
+
+ if(ref->isWellKnown())
+ {
+ li->clearCache(ref);
+ }
}
else if(ref->getRouterInfo() && one->operation == "ice_add_proxy")
{