mirror of
https://github.com/gorhill/uMatrix.git
synced 2024-09-29 08:41:11 +13:00
Firefox: fix copy-paste memory leak
This commit is contained in:
parent
ec337b61af
commit
71b0c22c9d
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue