Bug 1357745 - Disable the shutdown ping sender. r?gfritzsche
MozReview-Commit-ID: 8HhOYNrxOkn
--- a/toolkit/components/telemetry/TelemetrySession.jsm
+++ b/toolkit/components/telemetry/TelemetrySession.jsm
@@ -1791,17 +1791,19 @@ var Impl = {
// on both to be saved after kicking off their collection.
let p = [];
if (IS_UNIFIED_TELEMETRY) {
let shutdownPayload = this.getSessionPayload(REASON_SHUTDOWN, false);
// Only send the shutdown ping using the pingsender from the second
// browsing session on, to mitigate issues with "bot" profiles (see bug 1354482).
- let sendWithPingsender = Preferences.get(PREF_SHUTDOWN_PINGSENDER, true) &&
+ // Note: sending the "shutdown" ping using the pingsender is currently disabled
+ // due to a crash happening on OSX platforms. See bug 1357745 for context.
+ let sendWithPingsender = Preferences.get(PREF_SHUTDOWN_PINGSENDER, false) &&
!TelemetryReportingPolicy.isFirstRun();
let options = {
addClientId: true,
addEnvironment: true,
usePingSender: sendWithPingsender,
};
p.push(TelemetryController.submitExternalPing(getPingType(shutdownPayload), shutdownPayload, options)