Open Bug 1375592 Opened 7 years ago Updated 2 years ago

Try to remove some shutdown observer notifications

Categories

(Core :: XPCOM, enhancement, P3)

enhancement

Tracking

()

People

(Reporter: mccr8, Unassigned)

References

(Blocks 1 open bug)

Details

Now that bug 833143 has landed, we have this silly-looking block of code:
        obsServ->NotifyObservers(nullptr, "quit-application-granted", syncShutdown);
        obsServ->NotifyObservers(nullptr, "quit-application-forced", nullptr);
        obsServ->NotifyObservers(nullptr, "quit-application", nullptr);
        obsServ->NotifyObservers(nullptr, "profile-change-net-teardown", context);
        obsServ->NotifyObservers(nullptr, "profile-change-teardown", context);
        obsServ->NotifyObservers(nullptr, "profile-before-change", context);
        obsServ->NotifyObservers(nullptr, "profile-before-change-qm", context);
        obsServ->NotifyObservers(nullptr, "profile-before-change-telemetry", context);

Once addons are gone, we should look through the list of these and other observer notifications that happen during shutdown, and try to reduce how many there are.
Priority: -- → P3
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.