-
-
Notifications
You must be signed in to change notification settings - Fork 482
Closed
Description
When using ObjectWrap that does not override a finalizer a memory leak is occurring.
I traced this back to #1514
Which introduced the following code which seems to trigger the leak. Removing this set eliminated the leak, but its not clear to me how this affects a basic or extended finalizer.
// Prevent ~ObjectWrap from calling napi_remove_wrap
instance->_ref = nullptr;
Metadata
Metadata
Assignees
Labels
No labels
Type
Projects
Status
Done