Bug 844331 - part 5 - add profile-before-change2 notification; r=bsmedberg

This commit is contained in:
Nathan Froyd
2013-03-01 15:11:21 -05:00
parent 564314e61f
commit b256e82faa
6 changed files with 6 additions and 0 deletions

View File

@@ -377,6 +377,7 @@ nsAppShell::ProcessNextNativeEvent(bool mayWait)
obsServ->NotifyObservers(nullptr, "profile-change-net-teardown", context.get());
obsServ->NotifyObservers(nullptr, "profile-change-teardown", context.get());
obsServ->NotifyObservers(nullptr, "profile-before-change", context.get());
obsServ->NotifyObservers(nullptr, "profile-before-change2", context.get());
nsCOMPtr<nsIAppStartup> appSvc = do_GetService("@mozilla.org/toolkit/app-startup;1");
if (appSvc)
appSvc->Quit(nsIAppStartup::eForceQuit);