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 }}
Repository navigation
Node SEA with useSnapshot cannot start worker thread #56077
Activity
nomagick commentedon Nov 29, 2024
This also breaks the esm loader hooks because it also runs in a thread.
nomagick commentedon Nov 30, 2024
Looks like here:
node/src/node.cc
Lines 322 to 350 in 03ec900
joyeecheung commentedon Dec 3, 2024
Hmm, looks like we just need to skip the SEA stuff for worker threads during bootstrap, since that's meant for the main thread anyway.
sea: only assert snapshot main function for main threads
sea: only assert snapshot main function for main threads
sea: only assert snapshot main function for main threads
sea: only assert snapshot main function for main threads