Don't wrap the AcceptTermsHandler with terms checking. Clear the sql hash storage on shutdown.

This commit is contained in:
Anatoly Sablin
2019-12-02 22:31:36 +03:00
parent 6216113400
commit 51d9225dda
2 changed files with 2 additions and 2 deletions

View File

@@ -12,6 +12,7 @@ public class SqlHashStorage implements HashStorage {
public SqlHashStorage(IStorage storage) {
this.storage = storage;
Runtime.getRuntime().addShutdownHook(new Thread(storage::clearHashes));
}
@Override