You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 1, 2022. It is now read-only.
By the time this code runs, the fragment can already be in a different state e.g. in Fenix, which recreates the activity when switching between private and normal tabs, the original fragment's activity is already null at this point. We still register a subscription and a SubscriptionLifecycleBinding, but we never unregister because we won't observe lifecycle changes for this fragment, and therefore leak the fragment via the subscription.
This is one of the leaks triggered by switching between normal and private mode (not described in the ticket but same STR): mozilla-mobile/fenix#13785