Ensure that process recreation also use the restoreMutex

This commit is contained in:
Benoit Marty
2024-06-18 18:33:04 +02:00
parent b3fdd34c5d
commit f2da62160b

View File

@@ -74,7 +74,7 @@ class MatrixClientsHolder @Inject constructor(private val authenticationService:
// Not ideal but should only happens in case of process recreation. This ensure we restore all the active sessions before restoring the node graphs.
runBlocking {
sessionIds.forEach { sessionId ->
restore(sessionId)
getOrRestore(sessionId)
}
}
}