Bug 1875502 - Pre: Make update cleanup functions async r=nalexander,settings-reviewers,application-update-reviewers

Differential Revision: https://phabricator.services.mozilla.com/D209111
This commit is contained in:
Robin Steuber
2024-05-16 20:01:47 +00:00
parent 581744ade1
commit fe7d3691c4
3 changed files with 17 additions and 8 deletions

View File

@@ -2582,8 +2582,7 @@ var gMainPane = {
Ci.nsIApplicationUpdateService
);
await aus.stopDownload();
um.cleanupReadyUpdate();
um.cleanupDownloadingUpdate();
await um.cleanupActiveUpdates();
UpdateListener.clearPendingAndActiveNotifications();
}
},