The partitions collection should only be set in the core parsing

This commit is contained in:
Carl Johnsen
2026-02-04 08:17:48 +01:00
parent f5c4c34649
commit 7a729192fb
+1 -3
View File
@@ -200,9 +200,7 @@ public class GPT : IPartitionTable
if (m_partitions != null)
return false;
m_partitions = [];
if (m_rawDisk == null || !m_parsed)
if (!m_parsed)
return false;
// Calculate the byte offset for the partition entries