Bug 1013876 - devices list is not cleared up when adb addon uninstalled. r=ochameau

This commit is contained in:
Paul Rouget 2014-05-22 09:17:22 +02:00
parent 4316558bf0
commit a33e475da8

View File

@ -18,6 +18,11 @@ const Devices = {
},
set helperAddonInstalled(v) {
addonInstalled = v;
if (!addonInstalled) {
for (let name in this._devices) {
this.unregister(name);
}
}
this.emit("addon-status-updated", v);
},