this fixes #455 (regression)

This commit is contained in:
gorhill 2015-07-08 09:56:06 -04:00
parent ca4fdbc042
commit 969e533ba8
1 changed files with 1 additions and 1 deletions

View File

@ -1166,7 +1166,7 @@ vAPI.messaging.onMessage = (function() {
var toAuxPending = {}; var toAuxPending = {};
// Use a wrapper to avoid closure and to allow reuse. // 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.callback = this.proxy.bind(this); // bind once
this.init(messageManager, listenerId, channelName, auxProcessId, timeout); this.init(messageManager, listenerId, channelName, auxProcessId, timeout);
}; };