Skip to content

Commit

Permalink
Merge pull request #4729 from vector-im/feature/adm/avoid-leaking-win…
Browse files Browse the repository at this point in the history
…dow-when-showing-loading

Avoid leaking Activity Window when showing loading dialog
  • Loading branch information
bmarty authored Dec 16, 2021
2 parents addeec0 + eb9c46b commit 3b35be5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions changelog.d/4713.misc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Avoids leaking the activity windows when loading dialogs are displaying
Original file line number Diff line number Diff line change
Expand Up @@ -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()
}

Expand Down

0 comments on commit 3b35be5

Please sign in to comment.