diff options
author | David Storch <david.storch@10gen.com> | 2018-10-24 18:24:26 -0400 |
---|---|---|
committer | David Storch <david.storch@10gen.com> | 2018-10-25 11:09:55 -0400 |
commit | c4b8fd97ef28f9fc95b5e710c4623a2e7f79314b (patch) | |
tree | 2d04717d5c6530d8e6a217ce54e0723f52aa9d3e /src | |
parent | ff836d8bbe07e5171e132d5685acef0bcd09ae09 (diff) | |
download | mongo-c4b8fd97ef28f9fc95b5e710c4623a2e7f79314b.tar.gz |
SERVER-37443 Don't call a virtual method in CollectionInfoCacheImpl destructor.
Diffstat (limited to 'src')
-rw-r--r-- | src/mongo/db/catalog/collection_info_cache_impl.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/catalog/collection_info_cache_impl.cpp b/src/mongo/db/catalog/collection_info_cache_impl.cpp index d05615dd713..9223cba45b8 100644 --- a/src/mongo/db/catalog/collection_info_cache_impl.cpp +++ b/src/mongo/db/catalog/collection_info_cache_impl.cpp @@ -71,7 +71,7 @@ CollectionInfoCacheImpl::~CollectionInfoCacheImpl() { // Necessary because the collection cache will not explicitly get updated upon database drop. if (_hasTTLIndex) { TTLCollectionCache& ttlCollectionCache = TTLCollectionCache::get(getGlobalServiceContext()); - ttlCollectionCache.unregisterCollection(_collection->ns()); + ttlCollectionCache.unregisterCollection(_ns); } } |