Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

call fs.close synchronously #1022

Closed
wants to merge 1 commit into from

Conversation

thefourtheye
Copy link

As nodejs/node#12562 landed in Node.js,
fs.close call without callback function will fail in Node.js v8.

As nodejs/node#12562 landed in Node.js,
`fs.close` call without callback function will fail in Node.js v8.
@mscdex
Copy link

mscdex commented May 16, 2017

Is this the right substitute though? It seems like async methods are being used there, so maybe at least an empty callback should be used instead (or better yet do something in case of error)?

@indexzero
Copy link
Member

Thanks for the insights @mscdex – will keep an eye on this and perhaps land it in the 2.x release line.

@indexzero
Copy link
Member

Duplicate of #1227 and #1228

@indexzero indexzero closed this Mar 9, 2018
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.

3 participants