https://kotlinlang.org logo
Title
n

nordiauwu

11/29/2021, 10:43 AM
So I was trying out ktor 2.0 on K\N and it worked as expected with the old MM, but with the new one, I get the following error. It looks similar to KTOR-2947, but I'm not sure if it's the same one. Should I create an issue?
e

e5l

11/29/2021, 10:44 AM
Yep, because
native-mt
coroutines is in use. Could you try disabling
freeze
with kotlin native flag? :)
btw Thanks for trying it out
n

nordiauwu

11/29/2021, 10:51 AM
Thanks, it works now
d

Didier Villevalois

11/29/2021, 1:32 PM
@e5l I'm taking profit of this thread to ask: will 2.0.0 final use coroutines 1.6?
👀 3
e

e5l

12/03/2021, 2:40 PM
Yep, we’re going to switch the main branch soon
And we’re going to drop support of
native-mt
with 2.0.0, and go with new memory model by default
d

Didier Villevalois

12/03/2021, 5:38 PM
Great! Thanks for your answer @e5l.