You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
we guess something happened at scene.postRender -> updateZoomTarget -> viewer._zoomIsFlight -> camera.flyToBoundingSphere -> cancel when viewer.destroy
so we try
Thanks for the Sandcastle @itfsw . I can see by capturing a heap snapshot, with the zoomTo and without the zoomTo, after they complete, that in one case if you filter for "Entity" you'll see the memory still exists, and the other it does not.
I find in TweenCollection.update tweenjs.stop(); can not clear _group, then _group will continue to grow and there is no way to release. _group retains the reference chain of the entity. So I manually cleared _group.
Sandcastle example: Example
Browser: Chrome
so we try
before use destroy, it still cannot free entity object,so it may happend when use flyTo method
The text was updated successfully, but these errors were encountered: