diff options
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 f799f02e7..85fae2c64 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(); + ab.detach(v8::undefined(scope).into()); let ab = v8::ArrayBuffer::with_backing_store(scope, &bs); Ok(serde_v8::Value { v8_value: ab.into(), |