We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
使用new L7.Scene和new GaodeMap创建地图实例,调用scene.destroy()后,打开chrome开发者工具内存一栏,点击垃圾回收后,拍摄堆快照,搜索layer和scene可以看到大量对象并未被释放
new L7.Scene
new GaodeMap
scene.destroy()
layer
scene
https://codesandbox.io/p/sandbox/hungry-sid-yj4ylr?file=%2Fpackage.json
进入页面等加载完就可以垃圾回收拍摄堆快照了,拍之前记得要选中*.csb.app那个
layer等对象应该被释放,scene在持有它的引用销毁后也应该被释放
No response
The text was updated successfully, but these errors were encountered:
hi @foxii-cn, welcome!
Sorry, something went wrong.
感谢反馈
lzxue
heiyexing
No branches or pull requests
问题描述
使用
new L7.Scene
和new GaodeMap
创建地图实例,调用scene.destroy()
后,打开chrome开发者工具内存一栏,点击垃圾回收后,拍摄堆快照,搜索layer
和scene
可以看到大量对象并未被释放重现链接
https://codesandbox.io/p/sandbox/hungry-sid-yj4ylr?file=%2Fpackage.json
重现步骤
进入页面等加载完就可以垃圾回收拍摄堆快照了,拍之前记得要选中*.csb.app那个
预期行为
layer等对象应该被释放,scene在持有它的引用销毁后也应该被释放
平台
屏幕截图或视频(可选)
No response
补充说明(可选)
No response
The text was updated successfully, but these errors were encountered: