mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-17 07:15:46 +00:00
Bug 1686816 - ensure we have useful values for waitCount and deselectCount to avoid 'undefined' showing up in telemetry, r=jaws
Unfortunately a meaningful automated test here is difficult because we're dealing with shutdown. Differential Revision: https://phabricator.services.mozilla.com/D102598
This commit is contained in:
parent
d6647f3b6e
commit
2a63dc9514
@ -664,6 +664,8 @@ var ProcessHangMonitor = {
|
||||
if (this._shuttingDown) {
|
||||
this.stopHang(report, "shutdown-in-progress", {
|
||||
lastReportFromChild: now,
|
||||
waitCount: 0,
|
||||
deselectCount: 0,
|
||||
});
|
||||
return;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user