Is there something obviously wrong here that I'm m...
# kotlin-native
t
Is there something obviously wrong here that I'm missing? I always get
Unfinished workers detected, 1 workers leaked!
when running this code on linuxX64
n
That is a common issue with the linuxX64 version of Ktor Client. Something in the library is causing memory leaks which is beyond your control. I recommend creating a new issue in the Ktor Issue Tracker ( https://github.com/ktorio/ktor/issues ).
You haven't done anything wrong. The code you have posted is fine 😄 .
t
Haha good to know. Thanks! I'll turn to the ktor issues. Looks like they're using youtrack now.
👍 1
l
Did you report the issue? You have a great simple reproducer that would be very helpful.
t
Yes. Sorry I should’ve linked it https://youtrack.jetbrains.com/issue/KTOR-1984
👍 1
🙏 1