Closed Bug 956079 Opened 11 years ago Closed 3 years ago

Leaked IntentReceiver in BrowserLocaleManager

Categories

(Firefox for Android Graveyard :: Locale switching and selection, defect)

All
Android
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INCOMPLETE

People

(Reporter: jchen, Unassigned, Mentored)

References

Details

Saw this in logcat while looking at something else.

> Activity org.mozilla.fennec_aurora.App has leaked IntentReceiver org.mozilla.gecko.LocaleManager$1@424cbe38 that was originally registered here. Are you missing a call to unregisterReceiver()?
> android.app.IntentReceiverLeaked: Activity org.mozilla.fennec_aurora.App has leaked IntentReceiver org.mozilla.gecko.LocaleManager$1@424cbe38 that was originally registered here. Are you missing a call to unregisterReceiver()?
> 	at android.app.LoadedApk$ReceiverDispatcher.<init>(LoadedApk.java:792)
> 	at android.app.LoadedApk.getReceiverDispatcher(LoadedApk.java:593)
> 	at android.app.ContextImpl.registerReceiverInternal(ContextImpl.java:1111)
> 	at android.app.ContextImpl.registerReceiver(ContextImpl.java:1098)
> 	at android.app.ContextImpl.registerReceiver(ContextImpl.java:1092)
> 	at android.content.ContextWrapper.registerReceiver(ContextWrapper.java:365)
> 	at org.mozilla.gecko.LocaleManager.initialize(LocaleManager.java:62)
> 	at org.mozilla.gecko.GeckoApp$16.run(GeckoApp.java:1300)
> 	at android.os.Handler.handleCallback(Handler.java:615)
> 	at android.os.Handler.dispatchMessage(Handler.java:92)
> 	at android.os.Looper.loop(Looper.java:137)
> 	at org.mozilla.gecko.util.GeckoBackgroundThread.run(GeckoBackgroundThread.java:32)
Shouldn't be a big deal, but probably means we could miss out on some system locale change broadcasts.

Might also go away after Bug 949495.
Depends on: 949495
Assignee: nobody → rnewman
Status: NEW → ASSIGNED
Assignee: rnewman → nobody
Mentor: rnewman
Status: ASSIGNED → NEW
Component: General → Locale switching and selection
Summary: Leaked IntentReceiver in LocaleManager → Leaked IntentReceiver in BrowserLocaleManager
We have completed our launch of our new Firefox on Android. The development of the new versions use GitHub for issue tracking. If the bug report still reproduces in a current version of [Firefox on Android nightly](https://play.google.com/store/apps/details?id=org.mozilla.fenix) an issue can be reported at the [Fenix GitHub project](https://github.com/mozilla-mobile/fenix/). If you want to discuss your report please use [Mozilla's chat](https://wiki.mozilla.org/Matrix#Connect_to_Matrix) server https://chat.mozilla.org and join the [#fenix](https://chat.mozilla.org/#/room/#fenix:mozilla.org) channel.
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → INCOMPLETE
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.