summaryrefslogtreecommitdiff
path: root/cpp/src/IceGrid/LocatorI.cpp
diff options
context:
space:
mode:
authorBenoit Foucher <benoit@zeroc.com>2005-09-19 11:33:43 +0000
committerBenoit Foucher <benoit@zeroc.com>2005-09-19 11:33:43 +0000
commit642a066529ba18a12e2a5e6f91b4c67bb4c3d6e3 (patch)
treef7eaa7d966e2b90979b40dc676c5b5528bcdd60c /cpp/src/IceGrid/LocatorI.cpp
parentAdded simple demo (diff)
downloadice-642a066529ba18a12e2a5e6f91b4c67bb4c3d6e3.tar.bz2
ice-642a066529ba18a12e2a5e6f91b4c67bb4c3d6e3.tar.xz
ice-642a066529ba18a12e2a5e6f91b4c67bb4c3d6e3.zip
Bug fixes
Diffstat (limited to 'cpp/src/IceGrid/LocatorI.cpp')
-rw-r--r--cpp/src/IceGrid/LocatorI.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/cpp/src/IceGrid/LocatorI.cpp b/cpp/src/IceGrid/LocatorI.cpp
index ff26f903d69..1ca0236d195 100644
--- a/cpp/src/IceGrid/LocatorI.cpp
+++ b/cpp/src/IceGrid/LocatorI.cpp
@@ -225,6 +225,12 @@ LocatorI::Request::exception()
void
LocatorI::Request::response(const Ice::ObjectPrx& proxy)
{
+ if(!proxy)
+ {
+ exception();
+ return;
+ }
+
Lock sync(*this);
_proxies.push_back(proxy->ice_newIdentity(Ice::stringToIdentity("dummy")));