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 (c…
…rystal-lang#15165) The spec introduced in crystal-lang#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