Skip to content

Commit 8c8e8f0

Browse files
committed
force-flush file streams in patcher store
1 parent cdde1fb commit 8c8e8f0

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/XIVLauncher.Common/Patching/ZiPatch/Util/SqexFileStreamStore.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,11 @@ public void CloseStream(string path)
3838
public void Dispose()
3939
{
4040
foreach (var stream in _streams.Values)
41+
{
42+
stream.Flush(true);
4143
stream.Dispose();
44+
}
45+
4246
this._streams.Clear();
4347
}
4448
}

0 commit comments

Comments
 (0)