mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-12 18:59:06 +01:00
Cancel the timer thread when stopping the key manager.
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user