mirror of
https://github.com/cryptomator/cryptomator.git
synced 2026-06-09 21:52:35 +00:00
prevent race conditions
This commit is contained in:
+1
-1
@@ -28,7 +28,7 @@ class IrregularUnmountCleaner {
|
||||
}
|
||||
|
||||
|
||||
public void clearIrregularUnmountDebrisIfNeeded() {
|
||||
public synchronized void clearIrregularUnmountDebrisIfNeeded() {
|
||||
if (alreadyChecked || tmpMountPointDir.isEmpty()) {
|
||||
return; //nuthin to do
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user