Fixed
Status Update
Comments
yb...@google.com <yb...@google.com> #2
Yigit, do you have time to fix it?
reemission of the same liveData is racy
reemission of the same liveData is racy
yb...@google.com <yb...@google.com> #3
yea i'll take it.
ap...@google.com <ap...@google.com> #4
Thanks for the detailed analysis. This may not be an issue anymore since we've started using Main.immediate there but I' not sure; I'll try to create a test case.
Description
Component used:
lifecycle-runtime-ktx
Version used:
2.2.0-alpha01 up to 2.3.0-alpha07
The following example should print "1", "2" then "3" but prints "1", "3", "2":
A similar problem existed inhttps://github.com/Kotlin/kotlinx.coroutines/issues/1474
Dispatchers.Main
but was fixed: