Fixed
Status Update
Comments
[Deleted User] <[Deleted User]> #2
Yigit, do you have time to fix it?
reemission of the same liveData is racy
reemission of the same liveData is racy
il...@google.com <il...@google.com>
[Deleted User] <[Deleted User]> #3
yea i'll take it.
il...@google.com <il...@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: Fragment
Version used: 1.3.0-alpha07
If you remove a detached fragment
FragmentManager
will callsetVisibleRemovingFragment
which in turns callscontainer.setTag(R.id.visible_removing_fragment_view_tag, f);
But since the fragment is detached
FragmentAnim
(which removes the tag) is never called and thus leaking the fragment until another fragment transaction that overwrites the tag is executed.