Skip to content

Commit fcb0a4d

Browse files
committed
fixup! test: add regression test for using ObjectWrap in worker
1 parent 53750f5 commit fcb0a4d

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

  • test/addons/worker-addon-exit

test/addons/worker-addon-exit/test.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,6 @@ const { isMainThread, Worker } = require('worker_threads');
55
if (!isMainThread) {
66
const addon = require(`./build/${common.buildType}/binding`);
77

8-
// Create some garbage
9-
const arr = [];
10-
for (let i = 0; i < 1e5; i++) arr.push(`${i}`.repeat(100));
11-
128
new addon.MyObject(10);
139

1410
// Should not segfault

0 commit comments

Comments
 (0)