mirror of
https://github.com/SabreTools/SabreTools.Serialization.git
synced 2026-02-03 21:30:35 +00:00
Flush before closing in microsoftcabinet.extraction (#61)
I had previously been under the assumption that closing always guaranteed a flush. I don't know of any issues that were being caused, but I should push this before i forget.
This commit is contained in:
committed by
GitHub
parent
527b09c6bc
commit
ecca11e2f3
@@ -571,6 +571,7 @@ namespace SabreTools.Serialization.Wrappers
|
||||
if (_fileStream is null)
|
||||
return false;
|
||||
|
||||
_fileStream.Flush();
|
||||
_fileStream.Close();
|
||||
|
||||
// reached end of folder
|
||||
|
||||
Reference in New Issue
Block a user