We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d3f5621 commit c2ef20eCopy full SHA for c2ef20e
1 file changed
app/src/main/kotlin/com/x8bit/bitwarden/data/vault/manager/VaultLockManagerImpl.kt
@@ -98,6 +98,7 @@ class VaultLockManagerImpl(
98
context: Context,
99
) : VaultLockManager {
100
private val unconfinedScope = CoroutineScope(dispatcherManager.unconfined)
101
+ private val ioScope = CoroutineScope(dispatcherManager.io)
102
103
/**
104
* This [Map] tracks all active timeout [Job]s that are running and their associated data using
@@ -478,7 +479,7 @@ class VaultLockManagerImpl(
478
479
.map { userId -> vaultTimeoutChangesForUserFlow(userId = userId) }
480
.merge()
481
}
- .launchIn(unconfinedScope)
482
+ .launchIn(ioScope)
483
484
485
private fun observeUserLogoutResults() {
0 commit comments