mirror of
https://github.com/aaru-dps/Aaru.Server.git
synced 2025-12-16 19:24:27 +00:00
Correctly remove temporary file.
This commit is contained in:
@@ -234,7 +234,15 @@ namespace DiscImageChef.Filters
|
|||||||
|
|
||||||
public override void Close()
|
public override void Close()
|
||||||
{
|
{
|
||||||
backStream.Close();
|
if(backStream!=null)
|
||||||
|
backStream.Close();
|
||||||
|
File.Delete(backFile);
|
||||||
|
}
|
||||||
|
|
||||||
|
~ForcedSeekStream()
|
||||||
|
{
|
||||||
|
if(backStream != null)
|
||||||
|
backStream.Close();
|
||||||
File.Delete(backFile);
|
File.Delete(backFile);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user