mirror of https://github.com/gorhill/uBlock.git
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() {
|
vAPI.unload.push(function() {
|
||||||
CustomizableUI.destroyWidget(vAPI.toolbarButton.widgetId);
|
CustomizableUI.destroyWidget(vAPI.toolbarButton.widgetId);
|
||||||
vAPI.messaging.globalMessageManager.addMessageListener(
|
vAPI.messaging.globalMessageManager.removeMessageListener(
|
||||||
location.host + ':closePopup',
|
location.host + ':closePopup',
|
||||||
vAPI.toolbarButton.closePopup
|
vAPI.toolbarButton.closePopup
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in New Issue