Don't wrap the AcceptTermsHandler with terms checking. Clear the sql hash storage on shutdown.
This commit is contained in:
@@ -12,6 +12,7 @@ public class SqlHashStorage implements HashStorage {
|
||||
|
||||
public SqlHashStorage(IStorage storage) {
|
||||
this.storage = storage;
|
||||
Runtime.getRuntime().addShutdownHook(new Thread(storage::clearHashes));
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user