nodefs: protect against double close
Access file descriptors under lock, and set to -1 on close. This avoids confusing errors if Close() is doubly called
Showing
Please register or sign in to comment
Access file descriptors under lock, and set to -1 on close. This avoids confusing errors if Close() is doubly called