Please sign in to comment.
tools,src: forbid usage of v8::Persistent
`v8::Persistent` comes with the surprising catch that it requires manual cleanup. `v8::Global` doesn’t, making it easier to use, and additionally provides move semantics. New code should always use `v8::Global`. PR-URL: #31018 Reviewed-By: Colin Ihrig <firstname.lastname@example.org> Reviewed-By: Richard Lau <email@example.com> Reviewed-By: James M Snell <firstname.lastname@example.org> Reviewed-By: David Carlier <email@example.com> Reviewed-By: Rich Trott <firstname.lastname@example.org> Reviewed-By: Gus Caplan <email@example.com> Reviewed-By: Joyee Cheung <firstname.lastname@example.org> Reviewed-By: Ben Noordhuis <email@example.com> Reviewed-By: Stephen Belanger <firstname.lastname@example.org>
- Loading branch information
Showing with 28 additions and 0 deletions.