workerpool
workerpool copied to clipboard
fix: :bug: process.exitCode instead of calling process.exit to allow cleanup
closes https://github.com/josdejong/workerpool/issues/429
see https://github.com/josdejong/workerpool/issues/429
The test sometimes failed, i guess because it now takes a bit longer to finish code and exit. after using 2000 it never failed on my machine. Hope thats ok.
Thanks for your PR @pcace, and sorry for the late reply.
Two remarks:
- Can you have a look at the inline comment of Bean?
- How can we reproduce your issue, so we can test whether this PR actually solves the issue? Is it possible to write a unit test to validate the fix?
Hi there, I am very sorry, but I am not using it anymore, so my testcase is gone. its totally ok if you close the pr.
Okido, I'll close your PR. Thanks anyway for your efforts!