mirror of
https://github.com/crskycode/GARbro.git
synced 2026-07-08 01:30:18 +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 ()
|
public void Flush ()
|
||||||
{
|
{
|
||||||
if (LastVisitedArc != null)
|
if (LastVisitedArc != null && (0 == Count || LastVisitedArc != Top))
|
||||||
{
|
{
|
||||||
LastVisitedArc.Dispose();
|
LastVisitedArc.Dispose();
|
||||||
LastVisitedArc = null;
|
LastVisitedArc = null;
|
||||||
|
|||||||
Reference in New Issue
Block a user