Bug 149764: changes to quit-application observer topic. r=danm, sr=jst
git-svn-id: svn://10.0.0.236/trunk@133312 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -583,10 +583,10 @@ nsAppShellService::Quit(PRUint32 aFerocity)
|
||||
if (aFerocity == eForceQuit) {
|
||||
// do it!
|
||||
|
||||
#ifdef MOZ_PHOENIX
|
||||
// No chance of the shutdown being cancelled from here on; tell people
|
||||
// we're shutting down for sure while all services are still available.
|
||||
nsCOMPtr<nsIObserverService> obsService = do_GetService("@mozilla.org/observer-service;1", &rv);
|
||||
obsService->NotifyObservers(nsnull, "quit-application", nsnull);
|
||||
#endif
|
||||
|
||||
// first shutdown native app support; doing this first will prevent new
|
||||
// requests to open additional windows coming in.
|
||||
|
||||
Reference in New Issue
Block a user