Closed mariuspod closed 1 year ago
Sorry for the delay! It's great! Can you fix CI? Probably we should bump node.js version? :thinking: (same for secp256k1-node)
macos failed (windows probably too) :disappointed:
adjusted actions policy, hope that will not need to approve CI on each push :slightly_smiling_face:
This PR makes the lib more robust when used in combination with
worker_threads
. We've observed that the usage of the globalconstructor
field is not thread-safe and may lead to segfaults.Fixes issue: #19
Minimal segfaulting example without this change: