~exprez135/cryptomator-libre

4e89de9e4790b85fdc2ec994f0521366641a3a8c — Armin Schrenk 7 months ago a27c9d6
activate force locking for dokany
1 files changed, 5 insertions(+), 1 deletions(-)

M main/commons/src/main/java/org/cryptomator/common/vaults/DokanyVolume.java
M main/commons/src/main/java/org/cryptomator/common/vaults/DokanyVolume.java => main/commons/src/main/java/org/cryptomator/common/vaults/DokanyVolume.java +5 -1
@@ 71,11 71,15 @@ 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();
	}