Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnna Henningsen <anna@addaleax.net>2019-11-11 17:24:13 +0300
committerAnna Henningsen <anna@addaleax.net>2020-03-21 12:57:20 +0300
commita9fb51f9be570001accfce8a057e885827655a2f (patch)
tree5a2325de3a8701e57c8532010e43260e503d6417 /src/node_main_instance.h
parent084c3796483a15da102480b2c5a1496417b5d7cf (diff)
src: align worker and main thread code with embedder API
This addresses some long-standing TODOs by Joyee and me about making the embedder API more powerful and us less reliant on internal APIs for creating the main thread and Workers. PR-URL: https://github.com/nodejs/node/pull/30467 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
Diffstat (limited to 'src/node_main_instance.h')
-rw-r--r--src/node_main_instance.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/node_main_instance.h b/src/node_main_instance.h
index cc9f50b9222..b8178c2774e 100644
--- a/src/node_main_instance.h
+++ b/src/node_main_instance.h
@@ -59,8 +59,6 @@ class NodeMainInstance {
IsolateData* isolate_data() { return isolate_data_.get(); }
- // TODO(joyeecheung): align this with the CreateEnvironment exposed in node.h
- // and the environment creation routine in workers somehow.
DeleteFnPtr<Environment, FreeEnvironment> CreateMainEnvironment(
int* exit_code);