diff options
author | Bernard Normier <bernard@zeroc.com> | 2007-10-30 18:21:16 -0400 |
---|---|---|
committer | Bernard Normier <bernard@zeroc.com> | 2007-10-30 18:21:16 -0400 |
commit | 0c33c2e3dab506856ee5d7ce6cb6e17eaf6b0251 (patch) | |
tree | 5ca30d581e2a2f22fdbe728b85896c66a1fbb36f /cpp/src | |
parent | Various service / service installer improvements (diff) | |
download | ice-0c33c2e3dab506856ee5d7ce6cb6e17eaf6b0251.tar.bz2 ice-0c33c2e3dab506856ee5d7ce6cb6e17eaf6b0251.tar.xz ice-0c33c2e3dab506856ee5d7ce6cb6e17eaf6b0251.zip |
Fixed bug #2528
Diffstat (limited to 'cpp/src')
-rw-r--r-- | cpp/src/Freeze/MapI.cpp | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/cpp/src/Freeze/MapI.cpp b/cpp/src/Freeze/MapI.cpp index ff8ffb916ee..390b4253ccb 100644 --- a/cpp/src/Freeze/MapI.cpp +++ b/cpp/src/Freeze/MapI.cpp @@ -1317,14 +1317,11 @@ Freeze::MapHelperI::close() _connection->unregisterMap(this); } _db = 0; - - for(IndexMap::iterator p = _indices.begin(); p != _indices.end(); ++p) - { - MapIndexBasePtr& indexBase = p->second; - indexBase->_impl = 0; - indexBase->_map = 0; - } + // + // We can't clear the indexBase as MapIndexI is using + // the first map's indexBase objects + // _indices.clear(); } |