Both issues are be fixed, now the workaround should be removable? https://github.com/Kotlin/kotlinx.coroutines/blob/develop/kotlinx-coroutines-core/common/src/flow/StateFlow.kt#L261 https://github.com/Kotlin/kotlinx.coroutines/issues/3820