summaryrefslogtreecommitdiff
path: root/cpp/src/IceGrid/SessionServantLocatorI.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/IceGrid/SessionServantLocatorI.cpp')
-rw-r--r--cpp/src/IceGrid/SessionServantLocatorI.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/cpp/src/IceGrid/SessionServantLocatorI.cpp b/cpp/src/IceGrid/SessionServantLocatorI.cpp
index b35941d7cda..3eec8bab349 100644
--- a/cpp/src/IceGrid/SessionServantLocatorI.cpp
+++ b/cpp/src/IceGrid/SessionServantLocatorI.cpp
@@ -41,6 +41,8 @@ SessionServantLocatorI::finished(const Ice::Current&, const Ice::ObjectPtr&, con
void
SessionServantLocatorI::deactivate(const std::string&)
{
+ Lock sync(*this);
+ _servants.clear();
}
Ice::ObjectPrx