Skip to content
This repository was archived by the owner on Aug 8, 2023. It is now read-only.

[core] geojson source - reset req on setURL - #6798

Merged
ivovandongen merged 1 commit into
masterfrom
fixup-6770-req
Oct 25, 2016
Merged

ivovandongen merged 1 commit into
masterfrom
fixup-6770-req

Conversation

@ivovandongen

Copy link
Copy Markdown
Contributor

Fixes #6770 (comment)

@jfirebaugh added a check on an existing request in setURL as well so that any pending request is canceled when changing the url, not only when it was previously done loading.

@ivovandongen ivovandongen added the Core The cross-platform C++ core, aka mbgl label Oct 23, 2016
@ivovandongen ivovandongen self-assigned this Oct 23, 2016
@mention-bot

Copy link
Copy Markdown

@ivovandongen, thanks for your PR! By analyzing the history of the files in this pull request, we identified @jfirebaugh, @mourner and @tobrun to be potential reviewers.

@ivovandongen

Copy link
Copy Markdown
Contributor Author

@jfirebaugh We might want to do the same on setGeoJSON when called explicitly by the user (as opposed to the request from loadDescription finishing) so that the content is not overwritten by completion of a request in progress or a refresh on caching headers.

@jfirebaugh

Copy link
Copy Markdown
Contributor

@ivovandongen Good call, you're absolutely right. Feel free to either make that change here or in a separate PR.

@ivovandongen ivovandongen added this to the android-v4.2.0 milestone Oct 25, 2016
@ivovandongen
ivovandongen merged commit 068e78a into master Oct 25, 2016
@ivovandongen
ivovandongen deleted the fixup-6770-req branch October 25, 2016 10:47
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Core The cross-platform C++ core, aka mbgl

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants