We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The docs state what it "Throws IllegalStateException if the context does not have a job in it" https://github.com/Kotlin/kotlinx.coroutines/blob/master/kotlinx-coroutines-core/common/src/CoroutineScope.kt#L229 But it delegates to CoroutineContext.ensureActive(), for which "This function does not do anything if there is no Job in the context" https://github.com/Kotlin/kotlinx.coroutines/blob/master/kotlinx-coroutines-core/common/src/Job.kt#L593
The text was updated successfully, but these errors were encountered:
Fixed CoroutinesScope.ensureActive docs
3449848
This is leftover from #2044 fix. Fixes #2241
Good catch. Thanks
Sorry, something went wrong.
879881e
Fixed CoroutinesScope.ensureActive docs (Kotlin#2242)
a57fcf2
This is leftover from Kotlin#2044 fix. Fixes Kotlin#2241
ceca65f
elizarov
No branches or pull requests
The docs state what it "Throws IllegalStateException if the context does not have a job in it"
https://github.com/Kotlin/kotlinx.coroutines/blob/master/kotlinx-coroutines-core/common/src/CoroutineScope.kt#L229
But it delegates to CoroutineContext.ensureActive(), for which "This function does not do anything if there is no Job in the context"
https://github.com/Kotlin/kotlinx.coroutines/blob/master/kotlinx-coroutines-core/common/src/Job.kt#L593
The text was updated successfully, but these errors were encountered: