Skip to content
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

Memory Leak when navigating from fragment to itself #508

Open
nardan8 opened this issue Jan 5, 2020 · 1 comment
Open

Memory Leak when navigating from fragment to itself #508

nardan8 opened this issue Jan 5, 2020 · 1 comment

Comments

@nardan8
Copy link

nardan8 commented Jan 5, 2020

I'm writing movie app and using Architecture Components.
Fragments A, B, C can navigate to Fragment D, also Fragment D could navigate itself.
Youtube player plays video on Fragment D.
When navigating from D->D->D leakcanary detects memory leak.
And when navigation A->D or B->D or C->D everything works fine without memory leak.

How to solve this issue?
(Sorry for my English)

Memory Leak Youtube Player

code_snapshot

xml_snapshot

@PierfrancescoSoffritti
Copy link
Owner

Could be related to #459?

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

No branches or pull requests

2 participants