Join Slack
Powered by
Hi everyone! I'm a bit frustrated, so in one part ...
# ktor
d
dkim
06/08/2021, 7:10 PM
Hi everyone! I'm a bit frustrated, so in one part of my program the coroutine that a ktor websocket is running on becomes inactive (before I open the websocket the coroutine is active), so I'm wondering if anyone knows why 🙂 Code where it doesn't work:
https://github.com/dkim19375/Tag/blob/master/src/main/kotlin/me/dkim19375/tag/multiplayer/ClientManager.kt#L43-L107
Code where it
does
work with almost the same code:
https://github.com/dkim19375/Tag/blob/master/src/main/kotlin/me/dkim19375/tag/util/Testing.kt
Image with the first code snippet hiding the comments is below:
Open in Slack
Previous
Next