You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 9, 2020. It is now read-only.
Calling e.g. swc.parse from inside a node worker thread results in errors like the following:
FATAL ERROR: HandleScope::HandleScope Entering the V8 API without proper locking in place
This is likely due to calling the callback on the wrong thread, or with the wrong napi environment. I'm not familiar with Rust so I'm not sure where to debug further, but that's been my experience in C++.
The text was updated successfully, but these errors were encountered:
Is this use case actually using any of the Neon async/threading APIs (including the new experimental one), or is it just simply calling regular Neon functions from within a Node worker that fails? I'm guessing it's the latter, and there may be something straightforward we've got wrong in order to support running Neon code in Node workers. But I want to make sure I know your use case before we fix the wrong thing.
Calling e.g.
swc.parse
from inside a node worker thread results in errors like the following:This is likely due to calling the callback on the wrong thread, or with the wrong napi environment. I'm not familiar with Rust so I'm not sure where to debug further, but that's been my experience in C++.
The text was updated successfully, but these errors were encountered: