It seems `withContext` doesn't throw any `Cancella...
# coroutines
l
It seems
withContext
doesn't throw any
CancellationException
before running the passed block even if the context is cancelled. I thought it checked before, and after running the passed block. Is this an intentional change, a doc misreading or a misunderstanding of the source code from me?
@elizarov Do you have the answer to this question? Should I open an issue on GitHub?
e
File a bug and let’s discuss there. There are some tradeoffs to consider.
👍 1
t
Issue link for others that come to this thread and want to follow it: https://github.com/Kotlin/kotlinx.coroutines/issues/785
👍 1