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:
@@ -2582,8 +2582,7 @@ var gMainPane = {
|
||||
Ci.nsIApplicationUpdateService
|
||||
);
|
||||
await aus.stopDownload();
|
||||
um.cleanupReadyUpdate();
|
||||
um.cleanupDownloadingUpdate();
|
||||
await um.cleanupActiveUpdates();
|
||||
UpdateListener.clearPendingAndActiveNotifications();
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user