icerockdev / moko-mvvm

Model-View-ViewModel architecture components for mobile (android & ios) Kotlin Multiplatform development
https://moko.icerock.dev/
Apache License 2.0
997 stars 95 forks source link

data binding memory leaks in fragment #68

Closed denmusic1992 closed 3 years ago

denmusic1992 commented 3 years ago

There is a problem with memory leaks in fragment: databinding is leaking memory, it is not being cleared on destroy. The way to fix it is to clear binding in onDestroyView() method.

Alex009 commented 3 years ago

fixed in #72 and will be available in next release