Closed Bug 1073976 Opened 5 years ago Closed 2 years ago

XPIProvider should use AsyncShutdown to shut down bootstrap add-ons during quit-application-granted

Categories

(Toolkit :: Add-ons Manager, defect)

defect
Not set

Tracking

()

RESOLVED INACTIVE

People

(Reporter: Irving, Unassigned)

References

Details

+++ This bug was initially created as a clone of Bug #1059674 +++

The XPI Provider shuts down bootstrap add-ons in quit-application-granted, a little before profile-before-change... http://hg.mozilla.org/mozilla-central/annotate/5e704397529b/toolkit/mozapps/extensions/internal/XPIProvider.jsm#l2174

We should switch from the Observer to an AsyncShutdown blocker and report which add-on we are shutting down to the AsyncShutdown status in case of timeout.

Note that this is a case where we'd rather not have the the browser crash if the shutdown times out; much better to report the offending add-on and continue shutting down.
Per policy at https://wiki.mozilla.org/Bug_Triage/Projects/Bug_Handling/Bug_Husbandry#Inactive_Bugs. If this bug is not an enhancement request or a bug not present in a supported release of Firefox, then it may be reopened.
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → INACTIVE
You need to log in before you can comment on or make changes to this bug.