oldergod / android-architecture

MVI architecture Implementation of the ToDo app.
Apache License 2.0
669 stars 70 forks source link

TasksFragment memoryleak #64

Open ChristopherME opened 3 years ago

ChristopherME commented 3 years ago

I added Leak Canary to the project and after rotate the screen a couple of times the TasksFragment gets leaked. I think it is because the intents are observed in the ViewModel, therefore, when the TasksFragments reaches the onDestroyView it can't actually get destroyed.