Skip to content

src: create BaseObject with node::Realm

BaseObjects are wrappers around JS objects. These objects should be created in a node::Realm and destroyed when their associated realm is cleaning up.

BaseObjects created in a realm should also be serialized associated to that realm when creating the startup snapshot.

Refs: https://github.com/nodejs/node/issues/42528

Merge request reports

Loading