summaryrefslogtreecommitdiff
path: root/view/sharedcache/core/DSCView.cpp
diff options
context:
space:
mode:
authorGlenn Smith <glenn@vector35.com>2025-02-21 15:29:34 -0500
committerMason Reed <mason@vector35.com>2025-04-02 05:36:54 -0400
commit90e9ff91f02f2cb902bf0564de1f403e23172f36 (patch)
treeb9433f1943c43b4333bf45b8e2d69cccaf687d64 /view/sharedcache/core/DSCView.cpp
parent721d24be648eccae72fe97f89f0fbd18de36af8a (diff)
[SharedCache] Don't serialize state twice
Diffstat (limited to 'view/sharedcache/core/DSCView.cpp')
-rw-r--r--view/sharedcache/core/DSCView.cpp2
1 files changed, 1 insertions, 1 deletions
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<Type> 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())