Browse Source

Firefox: proper cleanup for context-menu item

pull/2/head
Deathamns 10 years ago
committed by gorhill
parent
commit
84a0bbf18e
  1. 1
      platform/firefox/vapi-background.js

1
platform/firefox/vapi-background.js

@ -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