Commit 5628342c authored by akwizgran's avatar akwizgran

Cancel the timer thread when stopping the key manager.

parent c0143611
......@@ -196,6 +196,7 @@ class KeyManagerImpl extends TimerTask implements KeyManager, DatabaseListener {
public synchronized void stop() {
if(!running) return;
timer.cancel();
recogniser.removeSecrets();
removeAndEraseSecrets(outgoing);
removeAndEraseSecrets(incomingOld);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment