expiredContent not destroy when tile.unloadContent is called
- Dominant language
- JavaScript
- Stars
- 15.8k
- Forks
- 3.9k
- Avg merge
- 4d 6h
- Merged PRs (30d)
- 34
Description
hi, I've find a problem when i used expiredContent in 3DTiles, an error occurs in the follow picture:

and after debugger ( the following picture shows) to locate the reason, i've find that in the tile's unloadContent method, there maybe exists two kind of content at the same time, and it seems only destory the _content which in on processing state, leave another _expiredContent undestroyed.

I'm not sure it is a bug or the normal logic?
Contributor guide
Research direction
Start at the 3D Tiles tile.unloadContent method and reproduce the expiredContent case described in the issue. Trace how _content and _expiredContent coexist during unloading, then verify that both are handled correctly without the reported error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- computer-graphics
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100