Unverified Commit 6ed58457 authored by isurusiri's avatar isurusiri Committed by Michaël Zasso
Browse files

doc: explain how to invoke gc

Currently the documentation for Wrapping C++ Objects doesn't explain
how to destruct an object by explicitly invoking the garbage collector.
This commit includes a modification to docs that explains how to force
the garbage collector to clear objects using V8's command line flags.

Fixes: https://github.com/nodejs/node/issues/19876

PR-URL: https://github.com/nodejs/node/pull/20431


Reviewed-By: default avatarJames M Snell <jasnell@gmail.com>
Reviewed-By: default avatarYang Guo <yangguo@chromium.org>
parent 6367349a
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