We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cac98e0 commit bbe42a9Copy full SHA for bbe42a9
src/source/source_cache.ts
@@ -676,7 +676,9 @@ export class SourceCache extends Evented {
676
for (const retainedId in retain) {
677
// Make sure retained tiles always clear any existing fade holds
678
// so that if they're removed again their fade timer starts fresh.
679
- this._tiles[retainedId].clearFadeHold();
+ if (this._tiles[retainedId]) {
680
+ this._tiles[retainedId].clearFadeHold();
681
+ }
682
}
683
684
// Remove the tiles we don't need anymore.
0 commit comments