mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-10-11 23:00:59 +00:00
cancel timer of ShortTimeWindCache and not only the task, reducing thread count considerably
This commit is contained in:
1 parent
80e0a17199
commit
f69f50d4ba
1 file changed
+1
+1
@@ -51,6 +51,7 @@ public class ShortTimeWindCache {
|
||||
synchronized (order) {
|
||||
if (order.isEmpty()) {
|
||||
cancel();
|
||||
timer.cancel();
|
||||
timer = null;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user