Skip to content

Commit 6d41acc

Browse files
committed
fix: remove useless return
1 parent 118f932 commit 6d41acc

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

doc/api/worker_threads.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1710,7 +1710,6 @@ if (isMainThread) {
17101710
worker.postMessage('hi');
17111711
console.log(worker.performance.eventLoopUtilization());
17121712
}, 100).unref();
1713-
return;
17141713
} else {
17151714
parentPort.on('message', () => console.log('msg')).unref();
17161715
(function r(n) {

0 commit comments

Comments
 (0)