denoland / rusty_v8

Rust bindings for the V8 JavaScript engine
https://crates.io/crates/v8
MIT License
3.08k stars 299 forks source link

fix: don't pass refs to DELETE #1471

Closed mmastrac closed 2 months ago

mmastrac commented 2 months ago

Deleting invalidates the target of &mut. While the reference is no longer used after this call, it must continue to be valid, making all calls to DELETE with refs unsound.

mmastrac commented 2 months ago

@svix-aaron1011 I think this is the problem.