mirror of
https://github.com/vector-im/element-android.git
synced 2024-11-15 01:35:07 +08:00
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
1
changelog.d/4713.misc
Normal file
1
changelog.d/4713.misc
Normal file
@ -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() {
|
||||
Timber.i("onDestroyView Fragment ${javaClass.simpleName}")
|
||||
_binding = null
|
||||
dismissLoadingDialog()
|
||||
super.onDestroyView()
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user