mirror of
https://github.com/adamhathcock/sharpcompress.git
synced 2026-02-03 21:23:38 +00:00
Tar MemoryStream only works with no compression #548
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @DR9885 on GitHub (Nov 24, 2022).
Example Test (similar to existing), only none passes
@adamhathcock commented on GitHub (Nov 24, 2022):
streamdoesn't get closed correctly. You need to explicitly dispose it in the scope to finish off compression/trailers for any archive.@DR9885 commented on GitHub (May 10, 2023):
wont the "using" statement properly dispose the object?
@adamhathcock commented on GitHub (May 11, 2023):
you have two scopes writing then reading....nothing gets disposed until the end of the function which is the problem.