From ecca11e2f31ceb130464600b4e7d12b14879675c Mon Sep 17 00:00:00 2001 From: HeroponRikiBestest <50224630+HeroponRikiBestest@users.noreply.github.com> Date: Sun, 25 Jan 2026 21:41:35 -0500 Subject: [PATCH] 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. --- SabreTools.Serialization/Wrappers/MicrosoftCabinet.Extraction.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/SabreTools.Serialization/Wrappers/MicrosoftCabinet.Extraction.cs b/SabreTools.Serialization/Wrappers/MicrosoftCabinet.Extraction.cs index b31c3b11..6ccecdf2 100644 --- a/SabreTools.Serialization/Wrappers/MicrosoftCabinet.Extraction.cs +++ b/SabreTools.Serialization/Wrappers/MicrosoftCabinet.Extraction.cs @@ -571,6 +571,7 @@ namespace SabreTools.Serialization.Wrappers if (_fileStream is null) return false; + _fileStream.Flush(); _fileStream.Close(); // reached end of folder