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:
Jens Stutte 2022-09-20 05:59:25 +00:00
parent ecb5da0fbc
commit 3557a0e284

View file

@ -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;
} }