Fixed
Status Update
Comments
ap...@google.com <ap...@google.com> #2
Could you attach a video of this happening ?
jb...@google.com <jb...@google.com> #3
I'll try to get more details, but wanted to bring it up at least.
Please specify your OS, CPU, GPU, the emulator version, the system image you use and how your start the emulator (standalone or embedded into AS).
Description
Component used: Activity Version used: 1.2.0-alpha07
If you register for a result with a
LifecycleOwner
and your activity goes through process death and restoration, once it is created again if there is already result a waiting to be returned to theLifecycleOwner
an observer is added to wait until theLifecycle
isSTARTED
. When the lifecycle owner is unregistered, the observer is never removed.We should keep track of any observers added to the
LifecycleOwner
and remove them if the callback for the lifecycle owner is ever unregistered.