Closed
Bug 1139548
Opened 10 years ago
Closed 10 years ago
Unified Telemetry doesn't create a saved-session ping for sessions less than 1 minute
Categories
(Toolkit :: Telemetry, defect)
Toolkit
Telemetry
Tracking
()
RESOLVED
FIXED
mozilla39
Tracking | Status | |
---|---|---|
firefox39 | --- | fixed |
People
(Reporter: vladan, Assigned: Dexter)
References
Details
Attachments
(1 file, 1 obsolete file)
1.62 KB,
patch
|
Dexter
:
review+
|
Details | Diff | Splinter Review |
If you launch Firefox & shut it down immediately, a saved-session ping should be saved in the saved pings directory.
This is no longer the case with the unified Telemetry.
Assignee | ||
Comment 1•10 years ago
|
||
This allows shutdown to take place correctly.
Calling |DeferredTask.disarm| before |DeferredTask.finalize| made the latter do nothing, basically ignoring all the async shutdown barriers.
Attachment #8573262 -
Flags: review?(vdjeric)
Reporter | ||
Comment 2•10 years ago
|
||
Comment on attachment 8573262 [details] [diff] [review]
bug1139548.patch
Review of attachment 8573262 [details] [diff] [review]:
-----------------------------------------------------------------
::: toolkit/components/telemetry/TelemetryPing.jsm
@@ -786,5 @@
> return cleanup();
> }
>
> // This handles 2) and 3).
> - this._delayedInitTask.disarm();
do you need to make the same change in TelemetrySession.jsm?
Attachment #8573262 -
Flags: review?(vdjeric) → review+
Reporter | ||
Updated•10 years ago
|
Flags: needinfo?(alessio.placitelli)
Assignee | ||
Comment 3•10 years ago
|
||
Good catch. For the "saved-session" fix that is not strictly needed, as |TelemetrySession.shutdownChromeProcess| is a blocker for the TelemetryPing shutdown, so pings were getting saved just by removing the first one.
Still, the |.disarm| in TelemetrySession shutdown doesn't do anything good, so I'm removing it.
Flags: needinfo?(alessio.placitelli)
Assignee | ||
Comment 4•10 years ago
|
||
Removes the call to |_delayedInitTask.disarm| from |TelemetrySession.shutdownChromeProcess|
Attachment #8573262 -
Attachment is obsolete: true
Attachment #8573389 -
Flags: review+
Assignee | ||
Comment 5•10 years ago
|
||
Assignee | ||
Comment 6•10 years ago
|
||
All green, except for JP oranges that do not seem related.
Keywords: checkin-needed
Assignee | ||
Updated•10 years ago
|
Status: NEW → ASSIGNED
Comment 7•10 years ago
|
||
Keywords: checkin-needed
Whiteboard: [fixed-in-fx-team]
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
status-firefox39:
--- → fixed
Resolution: --- → FIXED
Whiteboard: [fixed-in-fx-team]
Target Milestone: --- → mozilla39
You need to log in
before you can comment on or make changes to this bug.
Description
•