doc: modified docs to reflect how to invoke gc on Wrapping C++ objects by isurusiri · Pull Request #20431 · nodejs/node

added 2 commits

April 30, 2018 21:43
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: #19876
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: #19876

Trott

@isurusiri

Currently the documentation for Wrapping C++ Objects doesn't explain
how the destructor executes when garbage-collector runs. This commit
includes a modification to docs that instructs how the destructor
for wrapper objects will run and options available to test destructor

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

Trott

hashseed

@Trott Trott added the author ready

PRs that have at least one approval, no pending requests for changes, and a CI started.

label

Sep 17, 2018

@Trott

Trott pushed a commit to Trott/io.js that referenced this pull request

Sep 19, 2018
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: nodejs#19876

PR-URL: nodejs#20431
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Yang Guo <yangguo@chromium.org>

targos pushed a commit that referenced this pull request

Sep 19, 2018
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: #19876

PR-URL: #20431
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Yang Guo <yangguo@chromium.org>

targos pushed a commit that referenced this pull request

Sep 20, 2018
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: #19876

PR-URL: #20431
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Yang Guo <yangguo@chromium.org>