From 13a36010086c0069f725166642bbd5b64bf7eb5f Mon Sep 17 00:00:00 2001 From: jmoenig Date: Tue, 3 Jul 2018 15:15:25 +0200 Subject: [PATCH] tweaked HTTP based hardware API optimization --- threads.js | 1 + 1 file changed, 1 insertion(+) diff --git a/threads.js b/threads.js index f237186c..b86e6ae7 100644 --- a/threads.js +++ b/threads.js @@ -2305,6 +2305,7 @@ Process.prototype.reportURL = function (url) { if (this.context.isCustomCommand) { // special case when ignoring the result, e.g. when // communicating with a robot to control its motors + this.httpRequest = null; return null; } } else if (this.httpRequest.readyState === 4) {