summaryrefslogtreecommitdiff
path: root/cpp/src
diff options
context:
space:
mode:
authorBenoit Foucher <benoit@zeroc.com>2007-11-27 20:51:05 +0100
committerBenoit Foucher <benoit@zeroc.com>2007-11-27 20:51:05 +0100
commit1090f1970ea872a8dddcd30608355a85144ae7b6 (patch)
tree3a584a41f603b8e8d4cb7841053329ba37e111f3 /cpp/src
parentFixed minor IceGrid bugs (diff)
downloadice-1090f1970ea872a8dddcd30608355a85144ae7b6.tar.bz2
ice-1090f1970ea872a8dddcd30608355a85144ae7b6.tar.xz
ice-1090f1970ea872a8dddcd30608355a85144ae7b6.zip
Fixed IceGrid bug
Diffstat (limited to 'cpp/src')
-rw-r--r--cpp/src/IceGrid/SessionServantManager.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/cpp/src/IceGrid/SessionServantManager.cpp b/cpp/src/IceGrid/SessionServantManager.cpp
index 8a8664e9b30..5084d9eeb03 100644
--- a/cpp/src/IceGrid/SessionServantManager.cpp
+++ b/cpp/src/IceGrid/SessionServantManager.cpp
@@ -176,7 +176,8 @@ SessionServantManager::removeSession(const Ice::ObjectPtr& session)
//
if(p->second.admin && p->second.connection)
{
- _adminConnections.erase(p->second.connection);
+ assert(_adminConnections.find(p->second.connection) != _adminConnections.end());
+ _adminConnections.erase(_adminConnections.find(p->second.connection));
}
_sessions.erase(p);