Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

process crashes when worker with timeout exits before timeout #15

Closed
r00b opened this issue Jul 28, 2020 · 0 comments
Closed

process crashes when worker with timeout exits before timeout #15

r00b opened this issue Jul 28, 2020 · 0 comments

Comments

@r00b
Copy link
Contributor

r00b commented Jul 28, 2020

Setting closeWorkerAfterMs causes for the worker to be terminated after the specified time. However, if the worker completes and exits normally before closeWorkerAfterMs milliseconds, the timeout created upon worker init is not cleared. This causes a TypeError where this.workers[name] is undefined and thus this.workers[name].terminate cannot be read or called.

See #14

@r00b r00b closed this as completed Jul 28, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant