mirror of
https://github.com/crskycode/GARbro.git
synced 2024-12-24 20:04:13 +08:00
(FileSystemStack.Flush): don't dispose of LastVisitedArc if it currently resides on top of the stack.
This commit is contained in:
parent
b0d06882b2
commit
3c22e9c077
@ -517,7 +517,7 @@ namespace GameRes
|
||||
|
||||
public void Flush ()
|
||||
{
|
||||
if (LastVisitedArc != null)
|
||||
if (LastVisitedArc != null && (0 == Count || LastVisitedArc != Top))
|
||||
{
|
||||
LastVisitedArc.Dispose();
|
||||
LastVisitedArc = null;
|
||||
|
Loading…
x
Reference in New Issue
Block a user