summaryrefslogtreecommitdiff
path: root/core/ops_builtin_v8.rs
diff options
context:
space:
mode:
authorBartek IwaƄczuk <biwanczuk@gmail.com>2022-11-30 23:20:18 +0100
committerGitHub <noreply@github.com>2022-11-30 22:20:18 +0000
commit381932ce1e79f38bbf8bdf28b4e808038aead7a7 (patch)
treeb58cf243660a1a728178253f39d6357c549ddd95 /core/ops_builtin_v8.rs
parent623dbe7a5786a5aa600b14a7e13e26777313d844 (diff)
chore: upgrade rusty_v8 to 0.58.0 (#16879)
Diffstat (limited to 'core/ops_builtin_v8.rs')
-rw-r--r--core/ops_builtin_v8.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/ops_builtin_v8.rs b/core/ops_builtin_v8.rs
index c72e114bd..cfbb3eba4 100644
--- a/core/ops_builtin_v8.rs
+++ b/core/ops_builtin_v8.rs
@@ -472,7 +472,7 @@ fn op_serialize(
}
let backing_store = buf.get_backing_store();
- buf.detach(v8::undefined(scope).into());
+ buf.detach(None);
let id = shared_array_buffer_store.insert(backing_store);
value_serializer.transfer_array_buffer(id, buf);
let id = v8::Number::new(scope, id as f64).into();