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

feat(bindings/js): support using in worker threads #497

Merged

Conversation

perrin4869
Copy link
Contributor

I've been trying to use the current module inside worker threads, but I kept running into errors, Error: Module did not self-register.
The solution from that question was applied here, it fixes the issue!

@tdewolff tdewolff merged commit 2104a74 into tdewolff:master Jun 23, 2022
@tdewolff
Copy link
Owner

Was this fixing a Module did not self-register for Windows or for all targets when using worker threads? Perhaps this would fix the segfault we experience?

@perrin4869
Copy link
Contributor Author

It fixed for me on Linux!

@perrin4869
Copy link
Contributor Author

Ah no I noticed the segfault with this version as well...

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

Successfully merging this pull request may close these issues.

2 participants