Join Slack
Powered by
I’m getting a crash on Android when I cancel my jo...
# coroutines
a
ansman
02/21/2019, 3:30 PM
I’m getting a crash on Android when I cancel my job, it seems like my uncaught exception handler is being called when one of the children is being cancelled. The exception is
JobCancelledException
which I thought was never supposed to cause a crash
ansman
02/21/2019, 4:15 PM
Turns out I was calling
channel.offer
which can of course throw
l
louiscad
02/21/2019, 8:02 PM
https://github.com/Kotlin/kotlinx.coroutines/issues/974
6
Views
Open in Slack
Previous
Next