Fix missing key.reset() in BackendSync directory watch logic

This commit is contained in:
2025-07-20 00:08:51 +02:00
parent 7b01f11b5b
commit eb218c33ca
@@ -86,6 +86,7 @@ public class BackendSync implements Runnable {
Files.delete(path); Files.delete(path);
} }
} }
key.reset();
} }
} catch (InterruptedException | ClosedWatchServiceException ignored) { } catch (InterruptedException | ClosedWatchServiceException ignored) {
Thread.currentThread().interrupt(); Thread.currentThread().interrupt();