Skip to content

Commit 58e234b

Browse files
author
Chenyu Yang
authored
Update worker.js
1 parent 36e5c3d commit 58e234b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/internal/worker.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -281,6 +281,7 @@ class Worker extends EventEmitter {
281281
workerData: options.workerData,
282282
environmentData,
283283
publicPort: port2,
284+
hooksPort: !isInternal ? toHooksThread : undefined,
284285
hasStdin: !!options.stdin,
285286
}, transferList);
286287

0 commit comments

Comments
 (0)