cancel timer of ShortTimeWindCache and not only the task, reducing thread count considerably

This commit is contained in:
Axel Uhl committed 2014-07-22 00:26:35 +02:00
1 parent 80e0a17199
commit f69f50d4ba
1 file changed
+1
@@ -51,6 +51,7 @@ public class ShortTimeWindCache {
synchronized (order) {
if (order.isEmpty()) {
cancel();
timer.cancel();
timer = null;
}
}