Commit 40b7302a authored by Bert Belder's avatar Bert Belder
Browse files

fs.readFile: don't make the callback before the fd is closed

On Windows it is not possible to unlink() the read file in the callback.
This fixes #3051. A test is included.
parent f178f2ae
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment