Closed Bug 1613390 Opened 1 year ago Closed 1 year ago

Avoid running BrowserGlue idle tasks during shutdown

Categories

(Firefox :: General, task)

task
Not set
normal

Tracking

()

RESOLVED FIXED
Firefox 74
Tracking Status
firefox74 --- fixed

People

(Reporter: florian, Assigned: florian)

References

Details

Attachments

(1 file)

Short Firefox sessions tend to run late startup code during shutdown, which is pointless at that point, increases the shutdown time, and makes shutdown profiles confusing.

A lot of these startup late tasks are started centrally from BrowserGlue.jsm, so these are easy to fix as a first step.

This is also an opportunity to add profiler markers that will help identify why some code starts running near the end of startup.

Pushed by fqueze@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/fd8d9a926e7b
Avoid running BrowserGlue idle tasks during shutdown, r=dthayer
Status: ASSIGNED → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 74
Regressions: 1622551
You need to log in before you can comment on or make changes to this bug.