Backed out changeset 49f976dc75d5 (bug 1779138) for causing Xpcshell failures on test_TelemetrySession.js. CLOSED TREE

This commit is contained in:
criss 2022-08-31 15:08:39 +03:00
parent 403b0c1b58
commit acff43bccc

View file

@ -216,11 +216,9 @@ nsresult MemoryTelemetry::GatherReports(
// If we're running in the parent process, collect data from all processes for
// the MEMORY_TOTAL histogram.
#ifndef XP_MACOSX
if (XRE_IsParentProcess() && !mGatheringTotalMemory) {
GatherTotalMemory();
}
#endif
if (!Telemetry::CanRecordReleaseData()) {
return NS_OK;