Skip to content

defaultMainDelayOptIn is always false #3044

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

Closed
STAR-ZERO opened this issue Nov 24, 2021 · 0 comments
Closed

defaultMainDelayOptIn is always false #3044

STAR-ZERO opened this issue Nov 24, 2021 · 0 comments
Assignees
Labels

Comments

@STAR-ZERO
Copy link

I'm trying to check delay is used Dispatchers.Main on Android with Coroutines 1.6-RC. However defaultMainDelayOptIn is always false.

Below screenshots are debugging on Android Studio.

ss1

ss2

@qwwdfsad qwwdfsad self-assigned this Nov 24, 2021
@qwwdfsad qwwdfsad added the bug label Nov 24, 2021
qwwdfsad added a commit that referenced this issue Nov 24, 2021
…itialization cycle and add a test that ensures this behaviour in the future

Fixes #3044
woainikk pushed a commit that referenced this issue Dec 14, 2021
Fix reading an uninitialized value of defaultMainDelayOptIn due to
the initialization cycle and add a test that ensures this behaviour in the future

Fixes #3044
yorickhenning pushed a commit to yorickhenning/kotlinx.coroutines that referenced this issue Jan 28, 2022
Fix reading an uninitialized value of defaultMainDelayOptIn due to
the initialization cycle and add a test that ensures this behaviour in the future

Fixes Kotlin#3044
pablobaxter pushed a commit to pablobaxter/kotlinx.coroutines that referenced this issue Sep 14, 2022
Fix reading an uninitialized value of defaultMainDelayOptIn due to
the initialization cycle and add a test that ensures this behaviour in the future

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

No branches or pull requests

2 participants