Merge pull request #4729 from vector-im/feature/adm/avoid-leaking-window-when-showing-loading
Avoid leaking Activity Window when showing loading dialog
This commit is contained in:
commit
3b35be510f
|
@ -0,0 +1 @@
|
||||||
|
Avoids leaking the activity windows when loading dialogs are displaying
|
|
@ -151,6 +151,7 @@ abstract class VectorBaseFragment<VB : ViewBinding> : Fragment(), MavericksView
|
||||||
override fun onDestroyView() {
|
override fun onDestroyView() {
|
||||||
Timber.i("onDestroyView Fragment ${javaClass.simpleName}")
|
Timber.i("onDestroyView Fragment ${javaClass.simpleName}")
|
||||||
_binding = null
|
_binding = null
|
||||||
|
dismissLoadingDialog()
|
||||||
super.onDestroyView()
|
super.onDestroyView()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue