diff options
Diffstat (limited to 'core/ops_builtin_v8.rs')
-rw-r--r-- | core/ops_builtin_v8.rs | 2 |
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(); |