Fixed: Memory leak in KiwixSettingFragment.

This commit is contained in:
MohitMaliFtechiz 2025-03-26 23:38:50 +05:30 committed by Kelson
parent 1debc8269c
commit bd5a9129bf

View File

@ -59,6 +59,7 @@ abstract class CoreSettingsFragment : BaseFragment() {
requireActivity().supportFragmentManager.beginTransaction().remove(prefsFragment)
.commitNowAllowingStateLoss()
super.onDestroyView()
settingsBinding?.root?.removeAllViews()
settingsBinding = null
}
}