diff options
author | Marc Laukien <marc@zeroc.com> | 2003-01-22 16:09:44 +0000 |
---|---|---|
committer | Marc Laukien <marc@zeroc.com> | 2003-01-22 16:09:44 +0000 |
commit | 0e4eb887a420edd400be636d1588c31e4deffcba (patch) | |
tree | 1410a8c0db8317268266916252303cfd8886b60d /cpp/src/Ice/ObjectAdapterI.cpp | |
parent | fixed connection establishment (diff) | |
download | ice-0e4eb887a420edd400be636d1588c31e4deffcba.tar.bz2 ice-0e4eb887a420edd400be636d1588c31e4deffcba.tar.xz ice-0e4eb887a420edd400be636d1588c31e4deffcba.zip |
fixed yet another shutdown bug
Diffstat (limited to 'cpp/src/Ice/ObjectAdapterI.cpp')
-rw-r--r-- | cpp/src/Ice/ObjectAdapterI.cpp | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/cpp/src/Ice/ObjectAdapterI.cpp b/cpp/src/Ice/ObjectAdapterI.cpp index 09f94d1b1ff..b484d90bb06 100644 --- a/cpp/src/Ice/ObjectAdapterI.cpp +++ b/cpp/src/Ice/ObjectAdapterI.cpp @@ -377,7 +377,11 @@ Ice::ObjectAdapterI::findServantLocator(const string& prefix) { IceUtil::Monitor<IceUtil::Mutex>::Lock sync(*this); - checkForDeactivation(); + // + // We cannot check for deactivation here, because after + // deactivation, there might still be some Incoming objects. + // + //checkForDeactivation(); map<string, ServantLocatorPtr>::iterator p = _locatorMap.end(); @@ -410,10 +414,14 @@ Ice::ObjectAdapterI::identityToServant(const Identity& ident) { IceUtil::Monitor<IceUtil::Mutex>::Lock sync(*this); - checkForDeactivation(); + // + // We cannot check for deactivation here, because after + // deactivation, there might still be some Incoming objects. + // + //checkForDeactivation(); // - // Don't call checkIdentity. We simply want null to returned + // Don't call checkIdentity. We simply want null to be returned // (e.g., for Direct, Incoming) in case the identity is incorrect // and therefore no servant can be found. // |