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

fs: refactor close to use destroy #15407

Closed
wants to merge 1 commit into from
Closed

Commits on Sep 20, 2017

  1. fs: refactor close to use destroy

    Refactor close() to use destroy() and not vice versa in ReadStream.
    Avoid races between WriteStream.close and WriteStream.write, by aliasing
    close to end().
    
    Fixes: nodejs#2006
    mcollina committed Sep 20, 2017
    Copy the full SHA
    2985aca View commit details
    Browse the repository at this point in the history