Skip to content

Commit 81bc311

Browse files
committed
Fix #924
1 parent 2e554f3 commit 81bc311

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

src/base/TilesRendererBase.js

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -621,11 +621,10 @@ export class TilesRendererBase {
621621
const addedSuccessfully = lruCache.add( tile, t => {
622622

623623
// Stop the load if it's started
624-
if ( t.__loadingState === LOADING ) {
625-
626-
controller.abort();
624+
controller.abort();
627625

628-
} else if ( isExternalTileSet ) {
626+
// Clear out all tile content
627+
if ( isExternalTileSet ) {
629628

630629
t.children.length = 0;
631630

0 commit comments

Comments
 (0)