tweaked HTTP based hardware API optimization

upd4.2
jmoenig 2018-07-03 15:15:25 +02:00
rodzic 1dfb9dfa67
commit 13a3601008
1 zmienionych plików z 1 dodań i 0 usunięć

Wyświetl plik

@ -2305,6 +2305,7 @@ Process.prototype.reportURL = function (url) {
if (this.context.isCustomCommand) { if (this.context.isCustomCommand) {
// special case when ignoring the result, e.g. when // special case when ignoring the result, e.g. when
// communicating with a robot to control its motors // communicating with a robot to control its motors
this.httpRequest = null;
return null; return null;
} }
} else if (this.httpRequest.readyState === 4) { } else if (this.httpRequest.readyState === 4) {