-
Notifications
You must be signed in to change notification settings - Fork 45
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
Using worker threads causes some native modules to crash #265
Comments
asztal
changed the title
Using worker threads can be a breaking change
Using worker threads causes some native modules to crash
Sep 25, 2019
Interesting. My preference would be having an environment variable because it's more like an emergency measure rather than an intended behaviour change based on the flag. Happy to review the PR. |
Created a pull request for this issue |
I am wondering if I might be hitting something similar with the grpc native modules:
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Is there a way to disable the node v12 behaviour where mocha-parallel-tests uses worker threads?
As great as it sounds, it's causing an issue with some native modules which are not context-aware and crash when loaded in a worker thread, for example
node-sass
:sass/node-sass#2746
If I were to contribute such an option, how would you want it to be done (--some-option, environment variable, something else)?
The text was updated successfully, but these errors were encountered: