Skip to content

Commit f7bdb90

Browse files
committed
fix: try fix node crash, thanks @Demivan
1 parent 9220449 commit f7bdb90

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/vitest/src/node/pool.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ export function createWorkerPool(ctx: Vitest): WorkerPool {
9696
return {
9797
runTests: runWithFiles('run'),
9898
collectTests: runWithFiles('collect'),
99-
close: () => pool.destroy(),
99+
close: async() => {}, // TODO: not sure why this will cause Node crash: pool.destroy(),
100100
}
101101
}
102102

0 commit comments

Comments
 (0)