mirror of https://github.com/gorhill/uBlock.git
this fixes #455 (regression)
This commit is contained in:
parent
ca4fdbc042
commit
969e533ba8
|
@ -1166,7 +1166,7 @@ vAPI.messaging.onMessage = (function() {
|
|||
var toAuxPending = {};
|
||||
|
||||
// Use a wrapper to avoid closure and to allow reuse.
|
||||
var CallbackWrapper = function(messageManager, channelName, listenerId, auxProcessId, timeout) {
|
||||
var CallbackWrapper = function(messageManager, listenerId, channelName, auxProcessId, timeout) {
|
||||
this.callback = this.proxy.bind(this); // bind once
|
||||
this.init(messageManager, listenerId, channelName, auxProcessId, timeout);
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue