| Index: sky/framework/inspector/inspector.sky
|
| diff --git a/sky/framework/inspector/inspector.sky b/sky/framework/inspector/inspector.sky
|
| index b5f3f12ef7d7fddf6f8b7f88dab0bc90dc799529..67d34d05b9712b0b014253342bc9d89bc76295b4 100644
|
| --- a/sky/framework/inspector/inspector.sky
|
| +++ b/sky/framework/inspector/inspector.sky
|
| @@ -82,12 +82,11 @@ InspectorBackend.prototype.onMessage = function(data) {
|
| if (result != this.ASYNC_RESPONSE)
|
| this.sendResponse(message.id, result);
|
| else {
|
| - window.setTimeout(function(message_id) {
|
| - if (this.unansweredMessages_.indexOf(message_id) == -1)
|
| + window.setTimeout(function() {
|
| + if (this.unansweredMessages_.indexOf(message.id) == -1)
|
| return;
|
| - console.log("Error, failed to reply to " + descriptor
|
| - + " message id " + message_id);
|
| - }, this.MESSAGE_TIMEOUT_MS, this, message.id);
|
| + console.log("Error, failed to reply to message id " + message.id);
|
| + }.bind(this), this.MESSAGE_TIMEOUT_MS);
|
| }
|
| };
|
|
|
|
|