Closed Bug 1663747 Opened 4 years ago Closed 4 years ago

Fix ClearOnShutdown's sCurrentShutdownPhase and add API to compare against it

Categories

(Core :: XPCOM, enhancement)

enhancement

Tracking

()

RESOLVED FIXED
83 Branch
Tracking Status
firefox83 --- fixed

People

(Reporter: kmag, Assigned: kmag)

References

Details

Attachments

(2 files)

This would be useful for the many callers which want to bail out early when it's too late in shutdown. Particularly after ClearOnShutdown has already run on a pointer that they're considering initializing.

Pushed by maglione.k@gmail.com: https://hg.mozilla.org/integration/autoland/rev/491472fe44f4 Part 1 - Fix sCurrentShutdownPhase and add PastShutdownPhase() API. r=nika https://hg.mozilla.org/integration/autoland/rev/643aa6baf458 Part 2 - Use PastShutdownPhase() in component loader shutdown checks. r=mccr8
Pushed by maglione.k@gmail.com: https://hg.mozilla.org/integration/autoland/rev/c5beb9ff8f8d Part 1 - Fix sCurrentShutdownPhase and add PastShutdownPhase() API. r=nika https://hg.mozilla.org/integration/autoland/rev/65c4daebb7a7 Part 2 - Use PastShutdownPhase() in component loader shutdown checks. r=mccr8
Flags: needinfo?(kmaglione+bmo)
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 83 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: