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

Update ArrayBuffer::was_detached to not use OpenHandle #1126

Merged
merged 1 commit into from
Nov 21, 2022

Conversation

andreubotella
Copy link
Contributor

In #1103, the ArrayBuffer::was_detached method was added to rusty_v8 to fill a gap in the C++ API, and it was implemented using the internal v8::Utils::OpenHandle. Since then, a WasDetached method was added to ArrayBuffer in V8 10.9. This PR updates the implementation to use that.

In denoland#1103, the `ArrayBuffer::was_detached` method was added to rusty_v8
to fill a gap in the C++ API, and it was implemented using the
internal `v8::Utils::OpenHandle`. Since then, a `WasDetached` method
was added to `ArrayBuffer` in V8 10.9. This PR updates the
implementation to use that.
Copy link
Member

@bartlomieju bartlomieju left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@bartlomieju bartlomieju merged commit d992c50 into denoland:main Nov 21, 2022
@andreubotella andreubotella deleted the upstream-wasdetached branch November 21, 2022 11:48
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

2 participants