mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-11 20:35:50 +00:00
Bug 1013876 - devices list is not cleared up when adb addon uninstalled. r=ochameau
This commit is contained in:
parent
4316558bf0
commit
a33e475da8
@ -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);
|
||||
},
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user