mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-18 05:39:53 +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() {
|
public synchronized void stop() {
|
||||||
if(!running) return;
|
if(!running) return;
|
||||||
|
timer.cancel();
|
||||||
recogniser.removeSecrets();
|
recogniser.removeSecrets();
|
||||||
removeAndEraseSecrets(outgoing);
|
removeAndEraseSecrets(outgoing);
|
||||||
removeAndEraseSecrets(incomingOld);
|
removeAndEraseSecrets(incomingOld);
|
||||||
|
|||||||
Reference in New Issue
Block a user