Commit e158218f authored by Gabriel Schulhof's avatar Gabriel Schulhof
Browse files

doc: update context-aware section of addon doc



Replace the portion of the context-aware addon example that advocates
for managing the life cycle of the per-addon-instance data using a
weak reference with code that illustrates how to manage its life cycle
using an environment cleanup hook.

Signed-off-by: default avatarGabriel Schulhof <gabriel.schulhof@intel.com>
PR-URL: https://github.com/nodejs/node/pull/28659


Reviewed-By: default avatarMichael Dawson <michael_dawson@ca.ibm.com>
parent accc984c
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment