Firefox: proper cleanup for context-menu item

pull/2/head
Deathamns 10 years ago committed by gorhill
parent 0769160b34
commit 84a0bbf18e

@ -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…
Cancel
Save