forked from mirrors/gecko-dev
Bug 1791350 - Make Services.startup.shuttingDown be based on AppShutdown::isInOrBeyond. r=florian
Differential Revision: https://phabricator.services.mozilla.com/D157617
This commit is contained in:
parent
ecb5da0fbc
commit
3557a0e284
1 changed files with 1 additions and 1 deletions
|
|
@ -609,7 +609,7 @@ nsAppStartup::ExitLastWindowClosingSurvivalArea(void) {
|
||||||
|
|
||||||
NS_IMETHODIMP
|
NS_IMETHODIMP
|
||||||
nsAppStartup::GetShuttingDown(bool* aResult) {
|
nsAppStartup::GetShuttingDown(bool* aResult) {
|
||||||
*aResult = mShuttingDown;
|
*aResult = AppShutdown::IsInOrBeyond(ShutdownPhase::AppShutdownConfirmed);
|
||||||
return NS_OK;
|
return NS_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue