Skip to content
This repository was archived by the owner on May 23, 2021. It is now read-only.

Don't overwrite extracted native module #5

Merged
merged 1 commit into from
Apr 12, 2019

Conversation

code-asher
Copy link
Member

@code-asher code-asher commented Apr 11, 2019

I kept getting segfaults that seemed to correspond with overwriting the native node module, so I added an ID to them and made it so we only write the modules when they don't already exist. This way new versions will write new modules and it won't cause existing instances to segfault if there are any running, and you can run multiple versions at once without anything breaking.

At least, that seems to fix the segfaults, but I think I need to do some more testing to be sure. The Docker container builds and runs without any errors now, in any case.

@code-asher code-asher force-pushed the fix/native-module-segfault branch from 725fb91 to 957d5f1 Compare April 12, 2019 00:01
@kylecarbs kylecarbs merged commit e21aa75 into master Apr 12, 2019
@kylecarbs kylecarbs deleted the fix/native-module-segfault branch April 12, 2019 17:00
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants