diff options
Diffstat (limited to 'cpp/src/IceGrid/AllocatableObjectCache.cpp')
-rw-r--r-- | cpp/src/IceGrid/AllocatableObjectCache.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cpp/src/IceGrid/AllocatableObjectCache.cpp b/cpp/src/IceGrid/AllocatableObjectCache.cpp index 341d110a56b..8be86c60f7e 100644 --- a/cpp/src/IceGrid/AllocatableObjectCache.cpp +++ b/cpp/src/IceGrid/AllocatableObjectCache.cpp @@ -166,8 +166,9 @@ AllocatableObjectEntryPtr AllocatableObjectCache::remove(const Ice::Identity& id) { Lock sync(*this); - AllocatableObjectEntryPtr entry = removeImpl(id); + AllocatableObjectEntryPtr entry = getImpl(id); assert(entry); + removeImpl(id); map<string, TypeEntry>::iterator p = _types.find(entry->getType()); assert(p != _types.end()); |