mirror of
https://github.com/cryptomator/cryptomator.git
synced 2026-05-17 10:11:27 +00:00
prevent race conditions
This commit is contained in:
@@ -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