Closed bleege closed 7 years ago
Thanks for the report @bleege.
Looks like the socket is getting closed between when the request is made and when we attempt to read the response. Perhaps the request is canceled on another thread when Tangram detects the tile is no longer needed but not before the callback has begun to execute.
Maybe there is something in the OkHttp Response
object we can check before attempting to read the byte array?
Otherwise I guess we'll need to take more of a manual approach of tracking which tile requests have been canceled.
Copying Tangram ES folks @blair1618 @tallytalwar @karimnaaji
Closing due to inactivity
master
at 549252a5ee0e7baaefad36d7bf2f0d47c1120e83This looks like it may be an issue within Tangram instead of Eraser Map, but this is the app where I first experienced this problem so I'm reporting it here. Eraser Map continues to function with no noticeable degrade in performance in the UX / UI, so this looks like something that likely just needs to be cleaned up with the HTTP request threading / canceling logic to keep the overall runtime health of implementing apps in good shape.
/cc @sarahlensing @ecgreb