Skip to content

Conversation

@lindt
Copy link
Contributor

@lindt lindt commented Nov 19, 2017

No description provided.

@PetarKirov
Copy link

There no need to close the file at all. The File struct uses reference counting to automatically close the underlying file descriptor when the last reference goes out of scope. The way to go is to remove all calls to File.close(), IMO.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants