Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Replace handle atomically in
IO::FileDescriptor#close
on Windows (#…
…15165) The spec introduced in #14698 fails on Windows very rarely (e.g. https://github.com/crystal-lang/crystal/actions/runs/11681506288/job/32532033082, https://github.com/crystal-lang/crystal/actions/runs/11642959689/job/32449149741). This PR seems to fix that; other platforms already do the same in `#system_close`, and double close remains an error.
- Loading branch information