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