mirror of
https://github.com/crskycode/GARbro.git
synced 2026-06-10 07:38:58 +08:00
(FileSystemStack.Flush): don't dispose of LastVisitedArc if it currently resides on top of the stack.
This commit is contained in:
@@ -517,7 +517,7 @@ namespace GameRes
|
||||
|
||||
public void Flush ()
|
||||
{
|
||||
if (LastVisitedArc != null)
|
||||
if (LastVisitedArc != null && (0 == Count || LastVisitedArc != Top))
|
||||
{
|
||||
LastVisitedArc.Dispose();
|
||||
LastVisitedArc = null;
|
||||
|
||||
Reference in New Issue
Block a user