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: event target string property leak. #1028

Merged
merged 4 commits into from Dec 29, 2021
Merged

Fix: event target string property leak. #1028

merged 4 commits into from Dec 29, 2021

Conversation

andycall
Copy link
Member

quickjs 的 GC tracker 可以有效捕获到对象类型的变量,但是无法捕获字符串类型的变量。

因此需要在对象释放的时候,手动调用 JSFreeValueRT 方法释放对象持有的字符串变量

@answershuto answershuto merged commit 9660c7d into main Dec 29, 2021
@answershuto answershuto deleted the fix/event_target branch December 29, 2021 02:55
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.

None yet

3 participants