Make sure network file isn't left open.
This commit is contained in:
parent
8c620c25ab
commit
85a6e21dcf
1 changed files with 6 additions and 0 deletions
|
|
@ -118,6 +118,12 @@ namespace AaxDecrypter
|
|||
RetrievedTags?.Invoke(this, aaxFile.AppleTags);
|
||||
RetrievedCoverArt?.Invoke(this, aaxFile.AppleTags.Cover);
|
||||
|
||||
if (isCanceled)
|
||||
{
|
||||
aaxFile.Dispose();
|
||||
nfsPersister.Dispose();
|
||||
}
|
||||
|
||||
return !isCanceled;
|
||||
}
|
||||
private NetworkFileStreamPersister NewNetworkFilePersister()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue