mirror of
https://github.com/crskycode/GARbro.git
synced 2024-12-24 03:44:13 +08:00
(FileSystemStack.ChDir): propagate OperationCanceledException.
This commit is contained in:
parent
f4c1bc2ae4
commit
ee14a418c0
@ -477,7 +477,12 @@ namespace GameRes
|
|||||||
Flush();
|
Flush();
|
||||||
var arc = ArcFile.TryOpen (entry.Name);
|
var arc = ArcFile.TryOpen (entry.Name);
|
||||||
if (null == arc)
|
if (null == arc)
|
||||||
throw new UnknownFormatException();
|
{
|
||||||
|
if (FormatCatalog.Instance.LastError is OperationCanceledException)
|
||||||
|
throw FormatCatalog.Instance.LastError;
|
||||||
|
else
|
||||||
|
throw new UnknownFormatException();
|
||||||
|
}
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
Push (entry.Name, arc.CreateFileSystem());
|
Push (entry.Name, arc.CreateFileSystem());
|
||||||
|
Loading…
x
Reference in New Issue
Block a user