1
0
mirror of https://github.com/gorhill/uBlock.git synced 2024-07-08 12:57:57 +02:00

Firefox: fix copy-paste memory leak

This commit is contained in:
Deathamns 2014-12-29 17:58:51 +01:00
parent fbd2f74eb5
commit a8e02d4dfa

View File

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