Open Bug 1907804 Opened 2 months ago Updated 2 months ago

Avoid to do BackgroundReauthenticateUser when shutting down.

Categories

(Firefox :: about:logins, defect)

defect

Tracking

()

People

(Reporter: jstutte, Unassigned)

References

(Blocks 1 open bug)

Details

fd6a08e9-21d7-407d-a544-bc9000240703 is a case where we want to ensureLoggedIn which is executed async on the StreamTrans pool. I think we could have some IsInOrBeyondchecks there to reduce the probability for those.

Component: XPCOM → about:logins
Product: Core → Firefox

The simplest idea would be to add a AppShutdown::IsInOrBeyond check for an appropriate (earlier) phase before executing BackgroundReauthenticateUser, but we might need to reject the promise or something like that.

You need to log in before you can comment on or make changes to this bug.