Closed Bug 1716533 Opened 4 years ago Closed 3 years ago

Have a convenience method AppShutdown::IsInOrBeyond(ShutdownPhase)

Categories

(Core :: XPCOM, task)

task

Tracking

()

RESOLVED FIXED

People

(Reporter: jstutte, Unassigned)

References

Details

In order to be able to substitute (AppShutdown::GetShutdownPhase() >= myPhase) conditions (note the >= which could be easily forgotten and written as ==).

See Also: → 1632518
See Also: → 1716530

This has been introduced as IsInOrBeyond(aPhase) and as Javascript method nsAppStartup::IsInOrBeyondShutdownPhase(aPhase) in bug 1726813.

Depends on: 1726813
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Summary: Have a convenience method AppShutdown::IsShuttingDown(ShutdownPhase) → Have a convenience method AppShutdown::IsInOrBeyond(ShutdownPhase)
You need to log in before you can comment on or make changes to this bug.