Skip to content

Commit

Permalink
force-flush file streams in patcher store
Browse files Browse the repository at this point in the history
  • Loading branch information
goaaats committed Jul 17, 2024
1 parent cdde1fb commit 8c8e8f0
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}
}
Expand Down

0 comments on commit 8c8e8f0

Please sign in to comment.