Clear the cache to keep a small memory when the app is down

This commit is contained in:
J-Jamet committed 2018-09-15 17:22:42 +02:00
1 parent df80084822
commit 9ff6e7a080
8 files changed
+55 -26

No files matched your search

@@ -51,6 +51,8 @@ public class BinaryPool {
}
public void clear() {
for (Entry<Integer, ProtectedBinary> entry: pool.entrySet())
entry.getValue().clear();
pool.clear();
}