Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

johnno1962
Copy link
Contributor

File descriptor is not closed if no error occurs. Eventually they get exhausted after 1000 NSData( contentsOfFile: path )

@johnno1962 johnno1962 changed the title Always close file descriptor (eventually runs out of them!) Always close file descriptor (eventually runs out of them) Dec 9, 2015
@phausler
Copy link
Contributor

phausler commented Dec 9, 2015

good catch looks fine to me

phausler added a commit that referenced this pull request Dec 9, 2015
Always close file descriptor (eventually runs out of them)
@phausler phausler merged commit ffe2441 into swiftlang:master Dec 9, 2015
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