go-shutil icon indicating copy to clipboard operation
go-shutil copied to clipboard

File descriptors left open

Open LandonTClipp opened this issue 6 years ago • 0 comments

Hey there! This line is problematic:

https://github.com/termie/go-shutil/blob/bcacb06fecaeec8dc42af03c87c6949f4a05c74c/shutil.go#L261

Because the file object is never closed, there are open file descriptors left lying around. This actually causes problems with external software I'm using.

LandonTClipp avatar Oct 15 '19 16:10 LandonTClipp