mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 781883 - Ensure the GeckoApp unregisters itself as a tab listener on teardown, or it ends up getting registered multiple times. r=sriram
This commit is contained in:
parent
a5b10fa8b2
commit
49da98a0d3
@ -2167,6 +2167,8 @@ abstract public class GeckoApp
|
||||
if (mBatteryReceiver != null)
|
||||
mBatteryReceiver.unregisterFor(mAppContext);
|
||||
|
||||
Tabs.unregisterOnTabsChangedListener(this);
|
||||
|
||||
((GeckoApplication) getApplication()).removeApplicationLifecycleCallbacks(this);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user