Skip to content

Commit

Permalink
No longer flushing the stream while extracing files from zip.
Browse files Browse the repository at this point in the history
  • Loading branch information
ravibpatel committed Mar 13, 2023
1 parent fc9686c commit 7da937e
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion ZipExtractor/FormMain.cs
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,6 @@ private void FormMain_Shown(object sender, EventArgs e)
{
using Stream stream = entry.Open();
stream.CopyTo(destination);
stream.Flush();
destination.SetLength(destination.Position);
}
Expand Down

0 comments on commit 7da937e

Please sign in to comment.