Skip to content
Snippets Groups Projects
Commit 00255ba2 authored by Nick Alexander's avatar Nick Alexander
Browse files

Bug 1788713 - Read default profile targeting with existing lock in...

Bug 1788713 - Read default profile targeting with existing lock in `backgroundupdate` task. r=bytesized, a=RyanVM

Differential Revision: https://phabricator.services.mozilla.com/D156216
parent 27efa1fb
No related branches found
No related tags found
No related merge requests found
......@@ -276,7 +276,9 @@ async function runBackgroundTask(commandLine) {
Glean.backgroundUpdate.clientId.set(telemetryClientID);
try {
defaultProfileTargetingSnapshot = await lazy.BackgroundTasksUtils.readFirefoxMessagingSystemTargetingSnapshot();
defaultProfileTargetingSnapshot = await lazy.BackgroundTasksUtils.readFirefoxMessagingSystemTargetingSnapshot(
lock
);
} catch (f) {
if (DOMException.isInstance(f) && f.name === "NotFoundError") {
lazy.log.info(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment