Bug 393652 - Trunk builds on Mac do not quit from menu after first window is closed.
r=benjamin@smedbergs.us (Benjamin Smedberg) Toolkit Only, no approval. git-svn-id: svn://10.0.0.236/trunk@233384 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
745cf10082
commit
05f046d95f
@ -203,10 +203,6 @@ nsAppStartup::Quit(PRUint32 aMode)
|
||||
// it will be treated the same as eAttemptQuit, below
|
||||
}
|
||||
|
||||
mShuttingDown = PR_TRUE;
|
||||
if (!mRestart)
|
||||
mRestart = aMode & eRestart;
|
||||
|
||||
// If we're considering quitting, we will only do so if:
|
||||
if (ferocity == eConsiderQuit) {
|
||||
if (mConsiderQuitStopper == 0) {
|
||||
@ -236,6 +232,10 @@ nsAppStartup::Quit(PRUint32 aMode)
|
||||
#endif
|
||||
}
|
||||
|
||||
mShuttingDown = PR_TRUE;
|
||||
if (!mRestart)
|
||||
mRestart = aMode & eRestart;
|
||||
|
||||
/* Currently ferocity can never have the value of eForceQuit here.
|
||||
That's temporary (in an unscheduled kind of way) and logically
|
||||
this code is part of the eForceQuit case, so I'm checking against
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user