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

HARP-15773 Fixes VisibleTileSet::markTilesDirty bug #2217

Merged
merged 2 commits into from
Jun 9, 2021
Merged

Conversation

nzjony
Copy link
Member

@nzjony nzjony commented Jun 4, 2021

No description provided.

Basically, if we called this while the tile was still loading, then the execution
of the tile.load method would use the existing donePromise in the BaseTileLoader
We fix this by cancelling the TileLoader before requesting a new re-load

Signed-off-by: Jonathan Stichbury <[email protected]>
Signed-off-by: Jonathan Stichbury <[email protected]>
@codecov
Copy link

codecov bot commented Jun 9, 2021

Codecov Report

Merging #2217 (06db245) into master (8e867cb) will increase coverage by 0.00%.
The diff coverage is 100.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #2217   +/-   ##
=======================================
  Coverage   66.65%   66.65%           
=======================================
  Files         312      312           
  Lines       27755    27756    +1     
  Branches     6203     6204    +1     
=======================================
+ Hits        18500    18502    +2     
+ Misses       9255     9254    -1     
Impacted Files Coverage Δ
@here/harp-mapview/lib/VisibleTileSet.ts 79.82% <100.00%> (+0.04%) ⬆️
@here/harp-mapview/lib/MapMaterialAdapter.ts 92.85% <0.00%> (+0.71%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 8e867cb...06db245. Read the comment docs.

@AndriiHeonia AndriiHeonia self-requested a review June 9, 2021 12:29
@AndriiHeonia AndriiHeonia merged commit 21f5d10 into master Jun 9, 2021
@AndriiHeonia AndriiHeonia deleted the HARP-15773 branch June 9, 2021 12:33
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants