You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
unencapsulate: Wrap decompressor and implement Drop
Followup to #1228
We use the decompressor a couple of times in unencapsulate_base in
addition to the previous fix in filter_tar_async. Instead of
duplicating the decompressor flush logic in each place, wrap the
decompressor in a struct and implement Drop for it so we always
automatically flush the input stream when we're finished with it.
Signed-off-by: John Eckersberg <[email protected]>
0 commit comments