diff options
Diffstat (limited to 'view/sharedcache/core/SharedCacheController.cpp')
| -rw-r--r-- | view/sharedcache/core/SharedCacheController.cpp | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/view/sharedcache/core/SharedCacheController.cpp b/view/sharedcache/core/SharedCacheController.cpp index d300017e..8886748f 100644 --- a/view/sharedcache/core/SharedCacheController.cpp +++ b/view/sharedcache/core/SharedCacheController.cpp @@ -39,14 +39,6 @@ void DeleteController(const FileMetadata& file) LogWarnF("Deleting SharedCacheController for view {:#x}, but there are still {} references", id, controller->m_refs.load()); - // Go through the file accessor cache and remove the entries we reference. - auto& fileAccessorCache = FileAccessorCache::Global(); - for (const auto& entry : controller->GetCache().GetEntries()) - { - auto accessorId = GetCacheAccessorID(entry.GetFilePath()); - fileAccessorCache.RemoveAccessor(accessorId); - } - controllers.erase(it); LogDebugF("Deleted SharedCacheController for view {:?}", file.GetFilename().c_str()); } |
