mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
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.
This commit is contained in:
parent
74b43ab972
commit
40ddad05bd
@ -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…
Reference in New Issue
Block a user