Closed Bug 1834556 Opened 2 years ago Closed 2 years ago

Consider to make the UserIdleService cease working in shutdown

Categories

(Core :: XPCOM, task)

task

Tracking

()

RESOLVED FIXED
116 Branch
Tracking Status
firefox116 --- fixed

People

(Reporter: jstutte, Assigned: jstutte)

References

Details

Attachments

(1 file)

It seems from hangs like this that the UserIdleService can fire anytime during shutdown, which is probably unwanted noise with potential for races depending on its observers.

We might want to bind nsUserIdleService::SetDisabled to some (early) shutdown phase like AppShutdownConfirmed in order to inhibit this.

Attachment #9335684 - Attachment description: WIP: Bug 1834556 - Have a shutdown blocker for the UserIdleService that disables it during shutdown. → WIP: Bug 1834556 - Have a shutdown blocker for the UserIdleService that disables it during shutdown. ?#xpcom-reviewers
Assignee: nobody → jstutte
Attachment #9335684 - Attachment description: WIP: Bug 1834556 - Have a shutdown blocker for the UserIdleService that disables it during shutdown. ?#xpcom-reviewers → Bug 1834556 - Have a shutdown blocker for the UserIdleService that disables it during shutdown. r?#xpcom-reviewers
Status: NEW → ASSIGNED
Pushed by jstutte@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/dc0803cd345b Have a shutdown blocker for the UserIdleService that disables it during shutdown. r=xpcom-reviewers,kmag
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 116 Branch
Regressions: 1836980
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: