diff --git a/projects/core/koin-core-coroutines/src/commonMain/kotlin/org/koin/core/KoinLazyExt.kt b/projects/core/koin-core-coroutines/src/commonMain/kotlin/org/koin/core/KoinLazyExt.kt index c1d01e03a..3fe0cd35b 100644 --- a/projects/core/koin-core-coroutines/src/commonMain/kotlin/org/koin/core/KoinLazyExt.kt +++ b/projects/core/koin-core-coroutines/src/commonMain/kotlin/org/koin/core/KoinLazyExt.kt @@ -45,5 +45,5 @@ suspend fun Koin.onKoinStarted(block: suspend (Koin) -> Unit) { */ @OptIn(KoinInternalApi::class) fun Koin.isAllStartedJobsDone(): Boolean { - return coroutinesEngine.startJobs.all { !it.isActive } + return coroutinesEngine.startJobs.none { it.isActive } }