Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Android Basics: Introduction to Coroutines in Android Studio: Different CancellationException message #68

Open
lorenzomag opened this issue Jan 11, 2025 · 0 comments

Comments

@lorenzomag
Copy link

Hello,

I'm curently trying to understand how the LaunchedEffect function cancelles the coroutines once the player objects are reset.

At the end of chapter 6 ("Launch concurrent tasks") in the course material, it states:

  1. Make sure you see the following message printed in Logcat:
Player 1: StandaloneCoroutine was cancelled
Player 2: StandaloneCoroutine was cancelled

The message I see is:

Player 1: The coroutine scope left the composition
Player 2: The coroutine scope left the composition

Is this due to some more recent code updates? Is everything going as expected?
The working 'make sure you see this', makes it seem like I should make sure I see that 😅

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant