[fenix] For https://github.com/mozilla-mobile/fenix/issues/11361 - Nulls out tabsFeature in the correct spot

pull/600/head
Jeff Boek 4 years ago committed by Emily Kager
parent 4042ab777a
commit 4210718c0d

@ -122,6 +122,7 @@ class TabTrayDialogFragment : AppCompatDialogFragment(), TabTrayInteractor {
override fun onDestroyView() {
_tabTrayView = null
tabsFeature = null
super.onDestroyView()
}
@ -134,7 +135,6 @@ class TabTrayDialogFragment : AppCompatDialogFragment(), TabTrayInteractor {
override fun onStop() {
tabsFeature?.stop()
tabTrayView.tabsTray.unregister(tabTrayView)
tabsFeature = null
super.onStop()
}

Loading…
Cancel
Save