Commit f1d35339 authored by James M Snell's avatar James M Snell Committed by Daniel Bevenius
Browse files

fs: check closing_ in FileHandle::Close



Fix possible flaky failure. Keep uv_fs_close from being called twice
on the same fd.

Signed-off-by: default avatarJames M Snell <jasnell@gmail.com>

PR-URL: https://github.com/nodejs/node/pull/39472
Refs: https://github.com/nodejs/node/issues/39464


Reviewed-By: default avatarMatteo Collina <matteo.collina@gmail.com>
Reviewed-By: default avatarTobias Nießen <tniessen@tnie.de>
parent 71b2df25
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