mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2024-11-26 19:36:08 +03: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
1 changed files with 1 additions and 0 deletions
|
@ -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…
Reference in a new issue