Closed
Bug 1370656
Opened 9 years ago
Closed 9 years ago
Same instance of TelemetryCollector is being re-used between syncs
Categories
(Firefox for Android Graveyard :: Android Sync, enhancement)
Firefox for Android Graveyard
Android Sync
Tracking
(firefox55 fixed)
RESOLVED
FIXED
Firefox 55
| Tracking | Status | |
|---|---|---|
| firefox55 | --- | fixed |
People
(Reporter: Grisha, Assigned: Grisha)
References
Details
Attachments
(1 file)
We have a static reference to the sync adapter in FxAccountSyncService, and since TelemetryCollector is a field in the sync adapter, and it's never cleared, we'll end up re-using whatever contents it had from previous syncs that were not overridden.
| Comment hidden (mozreview-request) |
| Comment hidden (mozreview-request) |
Comment 3•9 years ago
|
||
| mozreview-review | ||
Comment on attachment 8875012 [details]
Bug 1370656 - Don't re-use the same instance of TelemetryCollector between syncs
https://reviewboard.mozilla.org/r/146354/#review150384
The next step on this road is to make the `GlobalSession` own the `TelemetryCollector`... except you don't want that since you want to capture information before the global session starts. Right?
Attachment #8875012 -
Flags: review?(nalexander) → review+
| Assignee | ||
Comment 4•9 years ago
|
||
(In reply to Nick Alexander :nalexander from comment #3)
> Comment on attachment 8875012 [details]
> Bug 1370656 - Don't re-use the same instance of TelemetryCollector between
> syncs
>
> https://reviewboard.mozilla.org/r/146354/#review150384
>
> The next step on this road is to make the `GlobalSession` own the
> `TelemetryCollector`... except you don't want that since you want to capture
> information before the global session starts. Right?
That's correct. I've started out with that approach, but ended up moving the ownership out of the session object for that reason.
Pushed by gkruglov@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/09c76ee950d0
Don't re-use the same instance of TelemetryCollector between syncs r=nalexander
Comment 6•9 years ago
|
||
| bugherder | ||
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
status-firefox55:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 55
Updated•8 years ago
|
Product: Android Background Services → Firefox for Android
Updated•5 years ago
|
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•