Skip to content
This repository was archived by the owner on Jul 25, 2019. It is now read-only.

listfiles Example doesn't close files opened#4

Closed
osbock wants to merge 1 commit intoadafruit:masterfrom
osbock:master
Closed

listfiles Example doesn't close files opened#4
osbock wants to merge 1 commit intoadafruit:masterfrom
osbock:master

Conversation

@osbock
Copy link
Copy Markdown

@osbock osbock commented Feb 27, 2012

I added an entry.close() at the bottom of the printDirectory loop. Otherwise, you run out of file descriptors after 26.

@ladyada
Copy link
Copy Markdown
Member

ladyada commented Aug 27, 2012

already fixed in latest rev

@ladyada ladyada closed this Aug 27, 2012
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants