Attempt to fix flocks on windows with unlock field
It seems that on Windows unlocking errors if the file has already been unlocked. To fix this, we've added a platform-specific field to see if the FileLock object has already been used to unlock the file. This is the unlock field. In the Drop impl for Windows, we check the unlocked flag to determine if we need to unlock the file.next
parent
79a7cfd2c2
commit
7777d1ee96
Loading…
Reference in New Issue