forked from SteamWar/SteamWar
Fix missing key.reset() in BackendSync directory watch logic
This commit is contained in:
@@ -86,6 +86,7 @@ public class BackendSync implements Runnable {
|
||||
Files.delete(path);
|
||||
}
|
||||
}
|
||||
key.reset();
|
||||
}
|
||||
} catch (InterruptedException | ClosedWatchServiceException ignored) {
|
||||
Thread.currentThread().interrupt();
|
||||
|
||||
Reference in New Issue
Block a user