From a5c0c23baeb49b8664d541293cf11a2f1fae0f15 Mon Sep 17 00:00:00 2001 From: Benoit Marty Date: Tue, 20 Apr 2021 10:22:37 +0200 Subject: [PATCH] Inject constructor... --- .../sdk/internal/session/SessionCoroutineScopeHolder.kt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/matrix-sdk-android/src/main/java/org/matrix/android/sdk/internal/session/SessionCoroutineScopeHolder.kt b/matrix-sdk-android/src/main/java/org/matrix/android/sdk/internal/session/SessionCoroutineScopeHolder.kt index 0d9e31f8cc..2a099ba2ff 100644 --- a/matrix-sdk-android/src/main/java/org/matrix/android/sdk/internal/session/SessionCoroutineScopeHolder.kt +++ b/matrix-sdk-android/src/main/java/org/matrix/android/sdk/internal/session/SessionCoroutineScopeHolder.kt @@ -20,9 +20,10 @@ import kotlinx.coroutines.CancellationException import kotlinx.coroutines.CoroutineScope import kotlinx.coroutines.SupervisorJob import kotlinx.coroutines.cancelChildren +import javax.inject.Inject @SessionScope -internal class SessionCoroutineScopeHolder { +internal class SessionCoroutineScopeHolder @Inject constructor() { var scope: CoroutineScope? = null private set