Browse Source

Firefox: fix copy-paste memory leak

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

2
platform/firefox/vapi-background.js

@ -668,7 +668,7 @@ vAPI.toolbarButton.init = function() {
vAPI.unload.push(function() {
CustomizableUI.destroyWidget(vAPI.toolbarButton.widgetId);
vAPI.messaging.globalMessageManager.addMessageListener(
vAPI.messaging.globalMessageManager.removeMessageListener(
location.host + ':closePopup',
vAPI.toolbarButton.closePopup
);

Loading…
Cancel
Save