Skip to content

Conversation

lbernstone
Copy link
Contributor

Fixes #3609

@me-no-dev
Copy link
Member

IMO close is called on the exit of the function anyway as part of the destruct. What am I missing?

@lbernstone
Copy link
Contributor Author

In practice, I would agree. But, in an example, I think it is more appropriate to demonstrate good hygiene on the file handles. The user with the issue was somehow able to write the file and it did not close/persist.

@me-no-dev
Copy link
Member

sure

@me-no-dev me-no-dev merged commit cd85239 into espressif:master Jan 20, 2020
@lbernstone lbernstone deleted the examples_fileclose branch November 4, 2020 13:30
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.

BUG? ESP32 FFAT partition not hold second file(with format false!)
2 participants