Closed Bug 1189758 Opened 9 years ago Closed 9 years ago

FindMyDevice leaks findmydevice.retry-count observers

Categories

(Firefox OS Graveyard :: FindMyDevice, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(tracking-b2g:+)

RESOLVED FIXED
FxOS-S4 (07Aug)
tracking-b2g +

People

(Reporter: gerard-majax, Assigned: gerard-majax)

References

Details

(Keywords: perf, regression, Whiteboard: [systemsfe])

Attachments

(1 file)

+++ This bug was initially created as a clone of Bug #1189004 +++ See the memory reports in bug 1189004 and also bug 1189004 comment 9: there is system app/findmydevice code that is leaking mozSettings observers with the setting findmydevice.retry-count.
(In reply to Alexandre LISSY :gerard-majax from comment #0) > +++ This bug was initially created as a clone of Bug #1189004 +++ > > See the memory reports in bug 1189004 and also bug 1189004 comment 9: there > is system app/findmydevice code that is leaking mozSettings observers with > the setting findmydevice.retry-count. Correction after carefully checking the about:memory report, this is leaking in the FindMyDevice app. There are two call sites: - https://github.com/mozilla-b2g/gaia/blob/9a45076c37ad2139f25194613916af5efb55bbc7/apps/findmydevice/js/findmydevice.js#L174 - https://github.com/mozilla-b2g/gaia/blob/9a45076c37ad2139f25194613916af5efb55bbc7/apps/findmydevice/js/findmydevice.js#L596
Depends on: 1034570
Depends on: 1181505
Comment on attachment 8642020 [details] [gaia] lissyx:bug1189758 > mozilla-b2g:master This should be enough, this way we should avoid leaking.
Attachment #8642020 - Flags: review?(mgoodwin)
Comment on attachment 8642020 [details] [gaia] lissyx:bug1189758 > mozilla-b2g:master LGTM. Thanks
Attachment #8642020 - Flags: review?(mgoodwin) → review+
tracking-b2g: --- → +
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Whiteboard: [systemsfe]
Target Milestone: --- → FxOS-S4 (07Aug)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: