Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
imagebuf_test: reset the IB before we remove the file it's reading
This is a weird thing we're doing in this very artificial test, removing a file when the IB reading it is still alive. That's safe on Unix, where a file with an open file handle still be safe to read even if it's removed. But it's not kosher on Windows. Fix by simply making sure that in this test, we aren't doing the unadvised thing of having the IB still active on the file we're deleting. This should fix the unit_imagebuf test that is failing our Windows CI.
- Loading branch information