mirror of
https://github.com/Kunzisoft/KeePassDX.git
synced 2026-12-05 00:02:27 -08:00
Clear the cache to keep a small memory when the app is down
This commit is contained in:
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();
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user