summaryrefslogtreecommitdiff
path: root/cpp/test/Ice/servantLocator/Collocated.cpp
diff options
context:
space:
mode:
authorJose <jose@zeroc.com>2009-08-12 00:34:01 +0200
committerJose <jose@zeroc.com>2009-08-12 00:34:01 +0200
commitef47c8a38690a16e8b42b5fbbefdd8610fe97d8e (patch)
treef0ebfb34e207958b29bd8b74c471ed18c6ee10b2 /cpp/test/Ice/servantLocator/Collocated.cpp
parentAdditional fix for bug 4019 (diff)
downloadice-ef47c8a38690a16e8b42b5fbbefdd8610fe97d8e.tar.bz2
ice-ef47c8a38690a16e8b42b5fbbefdd8610fe97d8e.tar.xz
ice-ef47c8a38690a16e8b42b5fbbefdd8610fe97d8e.zip
2564 ObjectAdapter::removeServantLocator issues.
Diffstat (limited to 'cpp/test/Ice/servantLocator/Collocated.cpp')
-rw-r--r--cpp/test/Ice/servantLocator/Collocated.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/cpp/test/Ice/servantLocator/Collocated.cpp b/cpp/test/Ice/servantLocator/Collocated.cpp
index 777030c17f5..27548455745 100644
--- a/cpp/test/Ice/servantLocator/Collocated.cpp
+++ b/cpp/test/Ice/servantLocator/Collocated.cpp
@@ -61,8 +61,10 @@ public:
}
else
{
- current.adapter->removeServantLocator("");
- current.adapter->removeServantLocator("category");
+ ServantLocatorPtr locator = current.adapter->removeServantLocator("");
+ locator->deactivate("");
+ locator = current.adapter->removeServantLocator("category");
+ locator->deactivate("category");
}
}
};