зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1010174 - [appmgr v2] update runningApps list on uninstall. r=jryans
This commit is contained in:
Родитель
05f1cc1c27
Коммит
ae263d1375
|
@ -118,6 +118,12 @@ exports.AppManager = AppManager = {
|
|||
this._runningApps.delete(manifestURL);
|
||||
this.checkIfProjectIsRunning();
|
||||
});
|
||||
|
||||
client.addListener("appUninstall", (type, { manifestURL }) => {
|
||||
AppManager.console.log("App uninstall: " + manifestURL);
|
||||
this._runningApps.delete(manifestURL);
|
||||
this.checkIfProjectIsRunning();
|
||||
});
|
||||
},
|
||||
_unlistenToApps: function() {
|
||||
// Is that even possible?
|
||||
|
|
Загрузка…
Ссылка в новой задаче