Skip to content
Snippets Groups Projects
Verified Commit 20f47831 authored by Janne Mareike Koschinski's avatar Janne Mareike Koschinski
Browse files

fix: correct leaking this

parent e33fd8df
No related branches found
No related tags found
No related merge requests found
......@@ -39,7 +39,7 @@ abstract class StatefulSyncableObject<T>(
return result
}
override fun state(): T = state.value
override fun flow(): Flow<T> = state
final override fun state(): T = state.value
final override fun flow(): Flow<T> = state
protected val state = MutableStateFlow(state)
}
......@@ -55,7 +55,7 @@ open class EmptySession : Session {
override fun removeIdentity(id: IdentityId) = Unit
override fun identities() = emptySet<Identity>()
override fun certManager(id: IdentityId) = null
override fun certManager(id: IdentityId): CertManager? = null
override fun certManagers() = emptySet<CertManager>()
override fun rename(className: String, oldName: String, newName: String) = Unit
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment