Fixed potential stalls in javascript.
This commit is contained in:
parent
41023d7d97
commit
bf4cb09063
|
@ -98,6 +98,7 @@
|
||||||
if (this.status !== 200)
|
if (this.status !== 200)
|
||||||
{
|
{
|
||||||
console.log("Failed update: status " + this.status);
|
console.log("Failed update: status " + this.status);
|
||||||
|
isSending = false;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
let static_path_prefix = "/images/";
|
let static_path_prefix = "/images/";
|
||||||
|
@ -144,6 +145,7 @@
|
||||||
catch (err)
|
catch (err)
|
||||||
{
|
{
|
||||||
console.dir(err);
|
console.dir(err);
|
||||||
|
isSending = false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// Important note: Due to marginal overshoot of scheduled timing, it is possible for time-remaining to be very slightly negative
|
// Important note: Due to marginal overshoot of scheduled timing, it is possible for time-remaining to be very slightly negative
|
||||||
|
|
Loading…
Reference in New Issue