Cannot terminate pool when there is an init timeout
- Ngôn ngữ chính
- TypeScript
- Star
- 3.5k
- Fork
- 173
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
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?
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Đánh giá
Issue này chưa được đánh giá.