Skip to content

always close the content stream after reading from it

db48x requested to merge db48x/reposurgeon:always-close-content-stream into master

It'll either be a file, in which case failing to close it will leak a file handle, or it'll be our sectionReader struct in which case the Close method will do nothing (because we need to keep the backing file handle open).

fixes #180 (closed)


Merge request reports