diff options
author | Benoit Foucher <benoit@zeroc.com> | 2004-08-14 02:27:40 +0000 |
---|---|---|
committer | Benoit Foucher <benoit@zeroc.com> | 2004-08-14 02:27:40 +0000 |
commit | a1cb0798dffe02820fc6e8d4ee0884331075707a (patch) | |
tree | 7f277f5dd8548ca9878be5c545c1c11e18452a16 /cpp/src/IcePack/AdapterRegistryI.cpp | |
parent | Ice.StdErr and Ice.StdOut (diff) | |
download | ice-a1cb0798dffe02820fc6e8d4ee0884331075707a.tar.bz2 ice-a1cb0798dffe02820fc6e8d4ee0884331075707a.tar.xz ice-a1cb0798dffe02820fc6e8d4ee0884331075707a.zip |
Fixed deadlock that would occur if multiple nodes were started at the same
time.
Diffstat (limited to 'cpp/src/IcePack/AdapterRegistryI.cpp')
-rw-r--r-- | cpp/src/IcePack/AdapterRegistryI.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cpp/src/IcePack/AdapterRegistryI.cpp b/cpp/src/IcePack/AdapterRegistryI.cpp index 1f34ee5e6e8..c0e43498a76 100644 --- a/cpp/src/IcePack/AdapterRegistryI.cpp +++ b/cpp/src/IcePack/AdapterRegistryI.cpp @@ -100,7 +100,8 @@ IcePack::AdapterRegistryI::findById(const string& id, const Ice::Current&) { try { - return AdapterPrx::checkedCast(p->second->ice_collocationOptimization(false)); + p->second->ice_ping(); + return AdapterPrx::uncheckedCast(p->second->ice_collocationOptimization(false)); } catch(const Ice::ObjectNotExistException&) { |