diff options
Diffstat (limited to 'cpp/test/Ice/servantLocator/ServerAMD.cpp')
-rw-r--r-- | cpp/test/Ice/servantLocator/ServerAMD.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/cpp/test/Ice/servantLocator/ServerAMD.cpp b/cpp/test/Ice/servantLocator/ServerAMD.cpp index 0f7a8788896..bcbbfc94fed 100644 --- a/cpp/test/Ice/servantLocator/ServerAMD.cpp +++ b/cpp/test/Ice/servantLocator/ServerAMD.cpp @@ -60,8 +60,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"); } } }; |