v8worker
v8worker copied to clipboard
Observing strange issue with SendSync
At some moment SendSync returns an empty string instead of the result.
In my case, it happens right after calling another package with C bindings (https://github.com/gographics/imagick)
My code:
data := JSWorker.SendSync(opts)
with some probability, data contains empty string instead of a result. looks like a goroutines multithread issue.
Even without ImageMagick, I could reproduce this issue, but with much lower probability. So I believe problem occurs when golang calls v8worker from different thread
any updates on this?