mirror of
https://github.com/gorhill/uBlock.git
synced 2024-10-06 09:37:12 +02:00
Firefox: fix copy-paste memory leak
This commit is contained in:
parent
fbd2f74eb5
commit
a8e02d4dfa
@ -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 New Issue
Block a user