Context menu web extensions duplicates when updated

Web extensions which add a context menu item will duplicate that context menu item when you update it or refresh the add-on (if it is a temporary add-on in debugging mode), until you restart your browser. This is probably because the background.js file doesn’t close off.

How can you close the old background.js file when you update your add-on from AMO?

It is a bug …

https://discourse.mozilla-community.org/t/webextension-zombie-processes-after-disable-uninstall/8270

https://bugzilla.mozilla.org/show_bug.cgi?id=1288695

2 Likes