Skip to content

Commit

Permalink
fixup! doc: clarify that ObjectWrap requires manual cleanup on shutdown
Browse files Browse the repository at this point in the history
  • Loading branch information
Flarna committed Sep 11, 2021
1 parent 3146ba1 commit 8ed33ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/api/addons.md
Original file line number Diff line number Diff line change
Expand Up @@ -966,7 +966,7 @@ or removal at any time. They are not documented by Node.js or V8, and they
should never be used outside of testing.

During shutdown of the process or worker threads destructors are not called
by the JS engine. Therefore it's in the responsibility of the user to track
by the JS engine. Therefore it's the responsibility of the user to track
these objects and ensure proper destruction to avoid resource leaks.

### Factory of wrapped objects
Expand Down

0 comments on commit 8ed33ec

Please sign in to comment.