diff options
author | Bartek IwaĆczuk <biwanczuk@gmail.com> | 2022-11-30 23:20:18 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-30 22:20:18 +0000 |
commit | 381932ce1e79f38bbf8bdf28b4e808038aead7a7 (patch) | |
tree | b58cf243660a1a728178253f39d6357c549ddd95 /ext/web/lib.rs | |
parent | 623dbe7a5786a5aa600b14a7e13e26777313d844 (diff) |
chore: upgrade rusty_v8 to 0.58.0 (#16879)
Diffstat (limited to 'ext/web/lib.rs')
-rw-r--r-- | ext/web/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/web/lib.rs b/ext/web/lib.rs index 85fae2c64..cfbcee6e3 100644 --- a/ext/web/lib.rs +++ b/ext/web/lib.rs @@ -383,7 +383,7 @@ fn op_transfer_arraybuffer<'a>( return Err(type_error("ArrayBuffer is not detachable")); } let bs = ab.get_backing_store(); - ab.detach(v8::undefined(scope).into()); + ab.detach(None); let ab = v8::ArrayBuffer::with_backing_store(scope, &bs); Ok(serde_v8::Value { v8_value: ab.into(), |