From 90e9ff91f02f2cb902bf0564de1f403e23172f36 Mon Sep 17 00:00:00 2001 From: Glenn Smith Date: Fri, 21 Feb 2025 15:29:34 -0500 Subject: [SharedCache] Don't serialize state twice --- view/sharedcache/core/DSCView.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'view/sharedcache/core/DSCView.cpp') diff --git a/view/sharedcache/core/DSCView.cpp b/view/sharedcache/core/DSCView.cpp index aae1e3c4..c8f49378 100644 --- a/view/sharedcache/core/DSCView.cpp +++ b/view/sharedcache/core/DSCView.cpp @@ -614,7 +614,7 @@ bool DSCView::Init() Ref filesetEntryCommandType = Type::StructureType(filesetEntryCommandStruct); DefineType(filesetEntryCommandTypeId, filesetEntryCommandName, filesetEntryCommandType); - if (auto metadata = SharedCacheCore::SharedCacheMetadata::LoadFromView(GetParentView())) + if (auto metadata = SharedCacheCore::SharedCacheMetadata::LoadFromView(this)) { BeginBulkModifySymbols(); for (const auto& [imageBaseAddr, exportMap] : metadata->ExportInfos()) -- cgit v1.3.1