mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2025-01-28 18:09:30 +01:00
dismisses any potential loading dialogs when the linked fragment is destroyed
- fixes leaking the activity window when the fragment is destroyed
This commit is contained in:
parent
4949a06343
commit
4c238e81cf
@ -151,6 +151,7 @@ abstract class VectorBaseFragment<VB : ViewBinding> : Fragment(), MavericksView
|
||||
override fun onDestroyView() {
|
||||
Timber.i("onDestroyView Fragment ${javaClass.simpleName}")
|
||||
_binding = null
|
||||
dismissLoadingDialog()
|
||||
super.onDestroyView()
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user