Skip to content
New issue

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

fix: memory leaks from window #1297

Merged
merged 1 commit into from
Apr 2, 2022
Merged

Conversation

wssgcg1213
Copy link
Member

@wssgcg1213 wssgcg1213 commented Apr 2, 2022

修复 ui.window 上的回调函数的闭包内引用 dom.window 导致 kraken 销毁时无法释放完整的 DOM 树的问题

修复前创建 - 销毁 Kraken 实例可以看到仍有 Kraken 相关的对象实例存在

E6E0A82D-E4CA-4681-B64B-097E22702DEB

修复后增量内存不含 Kraken 对象
image

@andycall andycall merged commit a2e54da into main Apr 2, 2022
@andycall andycall deleted the fix/memeory-leak-from-window branch April 2, 2022 10:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants