From 4986e9713bda7290c6ebd4dc99aff3d55af56728 Mon Sep 17 00:00:00 2001 From: Adam Brown Date: Fri, 26 Nov 2021 09:36:55 +0000 Subject: [PATCH] stopping the guard service on sign out - fixes the listening the notifications lingering around when it's not needed --- .../src/main/java/im/vector/app/core/di/ActiveSessionHolder.kt | 1 + 1 file changed, 1 insertion(+) diff --git a/vector/src/main/java/im/vector/app/core/di/ActiveSessionHolder.kt b/vector/src/main/java/im/vector/app/core/di/ActiveSessionHolder.kt index 6b7b5f7f62..5d8d5db3fe 100644 --- a/vector/src/main/java/im/vector/app/core/di/ActiveSessionHolder.kt +++ b/vector/src/main/java/im/vector/app/core/di/ActiveSessionHolder.kt @@ -71,6 +71,7 @@ class ActiveSessionHolder @Inject constructor(private val sessionObservableStore keyRequestHandler.stop() incomingVerificationRequestHandler.stop() pushRuleTriggerListener.stop() + guardServiceStarter.stop() } fun hasActiveSession(): Boolean {