Bug 844331 - part 5 - add profile-before-change2 notification; r=bsmedberg
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user