Makd SecurityCache external to MDConsumer so it live beyond md recovery

This commit is contained in:
Eric Harding committed 2019-01-31 09:18:03 -05:00
1 parent 40a115de7e
commit 791b0fdbc1
13 files changed
+68 -40

No files matched your search

+1 -1
View File
@@ -37,7 +37,7 @@ void SecurityCacheImpl::flush() {
//////////////////
SecurityCache::SecurityCache() : _me(new SecurityCacheImpl()) {}
SecurityCache::SecurityCache() : _me(std::make_shared<SecurityCacheImpl>()) {}
SecurityCache::~SecurityCache() {}
SecurityPtr SecurityCache::try_get_security(SecurityKey key) const {