1
0
Fork 0
mirror of https://github.com/gorhill/uMatrix.git synced 2024-06-14 08:15:03 +12:00

Firefox: fix copy-paste memory leak

This commit is contained in:
Deathamns 2014-12-29 17:58:51 +01:00 committed by gorhill
parent ec337b61af
commit 71b0c22c9d

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