Is there an easy way to test if a coroutine is lea...
# coroutines
b
Is there an easy way to test if a coroutine is leaking?
u
dont know but Id cancel the scope and see if stuff is still running
v
yes, you can use debug agent for that: https://github.com/Kotlin/kotlinx.coroutines/tree/master/kotlinx-coroutines-debug E.g.
DebugAgent.dumpCoroutinesInfo().isEmpty()