Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
fixup! src: mark ArrayBuffers with free callbacks as untransferable
  • Loading branch information
addaleax committed Nov 18, 2019
commit 47ff8a9414ec64970b49d6fe5e8d685db68f3efd
2 changes: 1 addition & 1 deletion test/addons/worker-buffer-callback/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ const { buffer } = require(`./build/${common.buildType}/binding`);
// Test that buffers allocated with a free callback through our APIs are not
// transfered.

const { port1, port2 } = new MessageChannel();
const { port1 } = new MessageChannel();
const origByteLength = buffer.byteLength;
port1.postMessage(buffer, [buffer.buffer]);

Expand Down