I updated my MP project which uses Ktor and corout...
# coroutines
t
I updated my MP project which uses Ktor and coroutines to 1.4.0. I am getting this failure:
Copy code
Uncaught Kotlin exception: kotlin.native.concurrent.InvalidMutabilityException: mutation attempt of frozen kotlinx.coroutines.ChildHandleNode@7eec8
Anybody have any clues where to look? This same code worked in previous version…
1
And the call stack
Okay, I finally got it: I was using coroutines 1.3.9 but looking here: https://github.com/ktorio/ktor/blob/master/gradle.properties and noting the version Ktor uses. I use the same, and it is now working. What threw me off was that this also works for JVM/Android, which I had not expected.
m
I guess you will get an better answer in the #multiplatform channel and I guess has something to do with multihtreded version of couroutines, which ktor uses