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 event type atom id changed when free. #1040

Merged
merged 28 commits into from Jan 4, 2022
Merged

Conversation

andycall
Copy link
Member

对于相同的字符串,Quickjs 可以确保对应的 JSAtom 是同一个值,但是如果这个字符串的被释放了,再次重新创建 JSAtom,就会是一个新的值。从而导致 eventTarget 触发时间后,匹配的回调不一致。

answershuto
answershuto previously approved these changes Dec 31, 2021
wssgcg1213
wssgcg1213 previously approved these changes Jan 4, 2022
@andycall andycall dismissed stale reviews from wssgcg1213 and answershuto via 50262c6 January 4, 2022 07:35
@andycall andycall merged commit 02e9098 into main Jan 4, 2022
@andycall andycall deleted the fix/event_type_atom branch January 4, 2022 07:39
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