diff options
author | Anna Henningsen <anna@addaleax.net> | 2019-11-02 21:06:47 +0300 |
---|---|---|
committer | Anna Henningsen <anna@addaleax.net> | 2019-11-07 01:26:03 +0300 |
commit | 5bf43729a403b992cc90b5cdbbaaf505769d1107 (patch) | |
tree | e0f7eea86af950fdfc8cecaca63a6334d2072159 /src/node_internals.h | |
parent | 55f98df303939774639bb597c6392c1c85bae6dd (diff) |
src: make EndStartedProfilers an exit hook
Run `EndStartedProfilers` on Environment teardown.
This is part of a series of changes to make embedding easier, by
requiring fewer internal methods to build a fully functioning
Node.js instance.
PR-URL: https://github.com/nodejs/node/pull/30229
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
Reviewed-By: Shelley Vohr <codebytere@gmail.com>
Diffstat (limited to 'src/node_internals.h')
-rw-r--r-- | src/node_internals.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/node_internals.h b/src/node_internals.h index 07e49edd413..ecd217086f8 100644 --- a/src/node_internals.h +++ b/src/node_internals.h @@ -318,7 +318,6 @@ void SetIsolateCreateParamsForNode(v8::Isolate::CreateParams* params); #if HAVE_INSPECTOR namespace profiler { void StartProfilers(Environment* env); -void EndStartedProfilers(Environment* env); } #endif // HAVE_INSPECTOR |