mirror of
https://github.com/gorhill/uBlock.git
synced 2024-11-10 09:07:54 +01:00
Firefox: proper cleanup for context-menu item
This commit is contained in:
parent
d4b2b81ae8
commit
5c2af95c73
1 changed files with 1 additions and 0 deletions
|
@ -333,6 +333,7 @@ vAPI.tabs.registerListeners = function() {
|
|||
|
||||
for (var win of vAPI.tabs.getWindows()) {
|
||||
vAPI.toolbarButton.unregister(win.document);
|
||||
vAPI.contextMenu.unregister(win.document);
|
||||
|
||||
win.removeEventListener('DOMContentLoaded', windowWatcher.onReady);
|
||||
win.gBrowser.removeTabsProgressListener(tabsProgressListener);
|
||||
|
|
Loading…
Reference in a new issue