Open Bug 1937985 Opened 2 months ago

Simplify `AsyncShutdown` blocker registration in Sync modules

Categories

(Firefox :: Sync, task)

task

Tracking

()

People

(Reporter: lina, Unassigned)

Details

We have a few shutdown blocker registrations that are wordier than they need to be (1, 2; bug 1888472 will replace the latter).

Rob pointed out in this comment that we can remove the explicit removeBlocker call, and the try...finally around the await.

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