diff --git a/src/XIVLauncher.Common/Patching/ZiPatch/Util/SqexFileStreamStore.cs b/src/XIVLauncher.Common/Patching/ZiPatch/Util/SqexFileStreamStore.cs index 9cdfa1fe..16286bfe 100644 --- a/src/XIVLauncher.Common/Patching/ZiPatch/Util/SqexFileStreamStore.cs +++ b/src/XIVLauncher.Common/Patching/ZiPatch/Util/SqexFileStreamStore.cs @@ -38,7 +38,11 @@ public void CloseStream(string path) public void Dispose() { foreach (var stream in _streams.Values) + { + stream.Flush(true); stream.Dispose(); + } + this._streams.Clear(); } }