Olekss
01/29/2018, 7:22 PMr4zzz4k
01/29/2018, 7:54 PMrun
from this snippet? run(NonCancellable) {...}
If so, NonCancellable
doc mentions withContext(NonCancellable) { ... }
instead of that: https://kotlin.github.io/kotlinx.coroutines/kotlinx-coroutines-core/kotlinx.coroutines.experimental/-non-cancellable/index.html
Probably a typo.Olekss
01/29/2018, 8:02 PMOlekss
01/29/2018, 8:03 PMOlekss
01/29/2018, 8:04 PMAJ Alt
01/29/2018, 8:25 PMCancellationException
if so. So you can clean up with finally etc.dave08
01/29/2018, 8:55 PMrun
was changed to withContext
, they probably didn't catch all the places it's mentioned in the docs...gildor
01/30/2018, 12:38 AM