summaryrefslogtreecommitdiff
path: root/cpp/src/Ice/Proxy.cpp
diff options
context:
space:
mode:
authorBenoit Foucher <benoit@zeroc.com>2002-12-05 22:28:48 +0000
committerBenoit Foucher <benoit@zeroc.com>2002-12-05 22:28:48 +0000
commit72490028ccf2a01b549022ef5eb588776137fb1a (patch)
tree5f13a71b0e26b566ec1b3d581b91023f43622f48 /cpp/src/Ice/Proxy.cpp
parentVisual C++ Warning Fix. (diff)
downloadice-72490028ccf2a01b549022ef5eb588776137fb1a.tar.bz2
ice-72490028ccf2a01b549022ef5eb588776137fb1a.tar.xz
ice-72490028ccf2a01b549022ef5eb588776137fb1a.zip
Added support for object lookup by identity
Diffstat (limited to 'cpp/src/Ice/Proxy.cpp')
-rw-r--r--cpp/src/Ice/Proxy.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/cpp/src/Ice/Proxy.cpp b/cpp/src/Ice/Proxy.cpp
index c21eaf82824..0d98b89b9e0 100644
--- a/cpp/src/Ice/Proxy.cpp
+++ b/cpp/src/Ice/Proxy.cpp
@@ -576,6 +576,11 @@ IceProxy::Ice::Object::__handleException(const LocalException& ex, int& cnt)
_delegate = 0;
}
+ if(_reference->locatorInfo)
+ {
+ _reference->locatorInfo->clearObjectCache(_reference);
+ }
+
++cnt;
TraceLevelsPtr traceLevels = _reference->instance->traceLevels();
@@ -634,6 +639,11 @@ IceProxy::Ice::Object::__rethrowException(const LocalException& ex)
_delegate = 0;
+ if(_reference->locatorInfo)
+ {
+ _reference->locatorInfo->clearObjectCache(_reference);
+ }
+
ex.ice_throw();
}