mirror of
https://github.com/modernw/App-Installer-For-Windows-8.x-Reset.git
synced 2026-04-13 20:28:33 +10:00
Fix bugs.
This commit is contained in:
@@ -121,6 +121,11 @@ namespace PriFileFormat
|
||||
FileNameOffset = fileNameOffset;
|
||||
}
|
||||
}
|
||||
~ReferencedFileSection ()
|
||||
{
|
||||
foreach (var file in ReferencedFiles) { file.Parent = null; }
|
||||
ReferencedFiles = null;
|
||||
}
|
||||
}
|
||||
public class ReferencedEntry
|
||||
{
|
||||
@@ -145,11 +150,13 @@ namespace PriFileFormat
|
||||
return fullName;
|
||||
}
|
||||
}
|
||||
~ReferencedEntry () { Parent = null; }
|
||||
}
|
||||
public class ReferencedFolder: ReferencedEntry
|
||||
{
|
||||
internal ReferencedFolder (ReferencedFolder parent, string name) : base (parent, name) {}
|
||||
public IReadOnlyList<ReferencedEntry> Children { get; internal set; }
|
||||
~ReferencedFolder () { Children = null; }
|
||||
}
|
||||
public class ReferencedFile: ReferencedEntry
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user