Bug 1010174 - [appmgr v2] update runningApps list on uninstall. r=jryans

This commit is contained in:
Paul Rouget 2014-05-19 10:39:00 +02:00
parent 3ec9653837
commit f6bdf8b626

View File

@ -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?