Skip to content

Cannot terminate pool when there is an init timeout #396

Open
@kellyselden

Description

@kellyselden

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:

Screenshot 2021-09-16 at 17 54 48

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

Screenshot 2021-09-16 at 17 55 03

I should note that this terminate logic works normally if the error is not an init timeout.

What are your thoughts on this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions