activate force locking for dokany

This commit is contained in:
Armin Schrenk
2020-12-14 10:23:27 +01:00
parent a27c9d63d9
commit 4e89de9e47

View File

@@ -71,10 +71,14 @@ public class DokanyVolume extends AbstractVolume {
@Override
public void unmountForced() {
mount.close(); //TODO: with next dokany-nio-release, change this to unmountForced()
mount.unmountForced();
cleanupMountPoint();
}
@Override
public boolean supportsForcedUnmount() {
return true;
}
@Override
public boolean isSupported() {
return DokanyVolume.isSupportedStatic();