mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 396833 - "ASSERTION: nsAppShell::Exit() called redundantly" on shutdown. Convert the assertion to a warning because the problem doesn't really have any bad consequences, thus allowing assertions to be fatal (!) on the Mac debug tinderbox. r+sr+a=roc
This commit is contained in:
parent
c11d00e32d
commit
3e22e6ba33
@ -487,9 +487,10 @@ nsAppShell::Exit(void)
|
||||
// XPCOM shutdown notification that nsBaseAppShell has registered to
|
||||
// receive. So we need to ensure that multiple calls won't break anything.
|
||||
// But we should also complain about it (since it isn't quite kosher).
|
||||
NS_ASSERTION(!mTerminated, "nsAppShell::Exit() called redundantly");
|
||||
if (mTerminated)
|
||||
if (mTerminated) {
|
||||
NS_WARNING("nsAppShell::Exit() called redundantly");
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
mTerminated = PR_TRUE;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user