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: fix scroll event crash #1209

Merged
merged 2 commits into from
Mar 11, 2022
Merged

fix: fix scroll event crash #1209

merged 2 commits into from
Mar 11, 2022

Conversation

andycall
Copy link
Member

之前从 JSC 迁移 QJS 的时候,遗留了一些 bad practice,在 JSC 的 JS 对象 GC 回收回调中,需要手动 Free 一次当前对象,而 QuickJS 会帮助你做这个事情。所以 HostClass 中遗留的 Free 就会在一些特定情况下导致二次释放。

answershuto
answershuto previously approved these changes Mar 10, 2022
wssgcg1213
wssgcg1213 previously approved these changes Mar 10, 2022
@wssgcg1213
Copy link
Member

Wait ci

@andycall andycall dismissed stale reviews from wssgcg1213 and answershuto via 64e2bae March 10, 2022 11:02
@andycall andycall force-pushed the fix/scroll_event_crash branch from a3cc576 to 64e2bae Compare March 10, 2022 11:02
@andycall andycall merged commit a40ab6d into main Mar 11, 2022
@andycall andycall deleted the fix/scroll_event_crash branch March 11, 2022 03:33
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