Cannot terminate pool when there is an init timeout
- 主要語言
- TypeScript
- 星號
- 3.5k
- 分支
- 173
- PR 合併指標
- 30 天內沒有已合併 PR
描述
I'm testing my error handling code. I forced a timeout of 100ms in spawn, which causes the expected error. Inside the try/finally, I call `.terminate(true)`. With the debugger paused on the line that calls terminate, I see:

which is expected. Then I let the program complete, and I'm left with a hung debugger and the workers still alive:

I should note that this terminate logic works normally if the error is not an init timeout.
What are your thoughts on this?
貢獻指南
這個儲存庫沒有索引到貢獻指南
評估
這個 Issue 還沒有評估資料。