corelight / zeekjs

ZeekJS - Experimental JavaScript support for Zeek.
BSD 3-Clause "New" or "Revised" License
9 stars 4 forks source link

Nodejs: Unset kNoInitializeCppgc for Node 20.6 or higher #73

Closed awelzel closed 1 year ago

awelzel commented 1 year ago

kLegacyInitializeNodeWithArgsBehavior does not contain the flag to initialize the new cppgc garbage collector which means the embedder is required to initialize and shutdown cppgc. Unset the flag so Node does it for us.

Found by @simeonmiteff , thanks!

simeonmiteff commented 1 year ago

I confirm that this fixes the issue for me.