Clear plugin cache on re-install (#5395)
This commit is contained in:
parent
6dbefee007
commit
445737c261
1 changed files with 4 additions and 0 deletions
|
@ -630,6 +630,10 @@ Zotero.Plugins = new function () {
|
|||
}
|
||||
await _callMethod(existingAddon, 'uninstall', reason);
|
||||
Services.obs.notifyObservers(null, "startupcache-invalidate");
|
||||
unregisterLocales(existingAddon);
|
||||
clearDefaultPrefs(existingAddon);
|
||||
_unloadScope(existingAddon.id);
|
||||
addonVersions.delete(existingAddon.id);
|
||||
}
|
||||
},
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue