Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
wait for in-flight ops before cloning
File
If there is an ongoing operation on a file, wait for that to complete before performing the clone in `File::try_clone`. This avoids a race between the ongoing operation and any subsequent operations performed on the clone. Fixes: tokio-rs#5759
- Loading branch information