mirror of https://github.com/gorhill/uBlock.git
Firefox: proper cleanup for context-menu item
This commit is contained in:
parent
d4b2b81ae8
commit
5c2af95c73
|
@ -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 New Issue