This message was deleted.
# coroutines
s
This message was deleted.
w
Most likely
doSomethingSuspending()
never completes
👆 1
g
If I understand this correctly, doSomethingSuspending never returns
l
Your
doSomethingSuspending()
is a fancy version of
awaitCancellation()
Or, your
getSomething()
is that one.
w
Yes, but it shouldn’t be happening. Could the code after doSomethingSuspending be throwing an exception?
l
Your snippet didn't show any code after
doSomethingSuspending()
@Jason Ankers It's kinda cheating! 😛
Are you on Android with AGP 7 alpha?
Try rebuilding the app, and if it still occurs, please try doing a Gradle clean, then building with the
--no-build-cache
option and .
Yes it should, but please, try what I asked and answer these, I'd like to know if it's an issue in AGP 7 alpha I've been witnessing
Can you wrap the whole thing with a try catch finally block that logs before rethrowing and in the finally block?
Plus insert a log before all this code to ensure the changes are deployed
Łukasz Wasylkowski was right the whole time on his first message.
Unrelated change or repeated execution, or who knows, we don't have your codebase at hand 😄