Skip to content

Commit

Permalink
fixup! src: move per-process global variables into node::per_process
Browse files Browse the repository at this point in the history
  • Loading branch information
joyeecheung committed Jan 4, 2019
1 parent 11ed69e commit 3a58828
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/node.cc
Original file line number Diff line number Diff line change
Expand Up @@ -141,9 +141,12 @@ using v8::Value;

namespace per_process {
// Tells whether --prof is passed.
// TODO(joyeecheung): replace this with env->options()->prof_process
// TODO(joyeecheung): move env->options()->prof_process to
// per_process::cli_options.prof_process and use that instead.
static bool v8_is_profiling = false;

// TODO(joyeecheung): these are no longer necessary. Remove them.
// See: https://github.com/nodejs/node/pull/25302#discussion_r244924196
// Isolate on the main thread
static Mutex main_isolate_mutex;
static Isolate* main_isolate;
Expand Down

0 comments on commit 3a58828

Please sign in to comment.