This repository was archived by the owner on Feb 16, 2022. It is now read-only.

Description
If a vehicle shows up on the map and then is no longer returned by /updates (due to inactivity), all vehicle messages will then fail to update after that point.
According to the console, it was not able to access the data attribute on this line:
|
const update = v.ShuttlesArray[key].data; |
I think this is because that value gets set to null here:
|
this.ShuttlesArray[key] = null; |
A possible fix could be to remove the vehicle's whole key/value from this.ShuttlesArray instead of setting its value to null when it disappears.