kopia lustrzana https://github.com/backface/turtlestitch
tweaked HTTP based hardware API optimization
rodzic
1dfb9dfa67
commit
13a3601008
|
@ -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) {
|
||||||
|
|
Ładowanie…
Reference in New Issue