mirror of
https://github.com/kiwix/kiwix-android.git
synced 2025-09-09 07:16:04 -04:00
#2238 more fixed memory leaks
This commit is contained in:
parent
c7237771ba
commit
6888cd7dbe
@ -142,9 +142,10 @@ abstract class PageFragment : OnItemClickListener, BaseFragment(), FragmentActiv
|
||||
savedInstanceState: Bundle?
|
||||
): View? = inflater.inflate(R.layout.fragment_page, container, false)
|
||||
|
||||
override fun onDestroy() {
|
||||
override fun onDestroyView() {
|
||||
super.onDestroyView()
|
||||
compositeDisposable.clear()
|
||||
super.onDestroy()
|
||||
recycler_view.adapter = null
|
||||
}
|
||||
|
||||
private fun render(state: PageState<*>) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user