Browse Source

src: remove traceSyncIO property from process

PR-URL: https://github.com/nodejs/io.js/pull/2143
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Evan Lucas <evanlucas@me.com>
Reviewed-By: Trevor Norris <trev.norris@gmail.com>
v4.0.0-rc
Bradley Meck 10 years ago
committed by Ben Noordhuis
parent
commit
6bef15afe7
  1. 7
      src/node.cc

7
src/node.cc

@ -2837,13 +2837,6 @@ void SetupProcessObject(Environment* env,
READONLY_PROPERTY(process, "traceDeprecation", True(env->isolate())); READONLY_PROPERTY(process, "traceDeprecation", True(env->isolate()));
} }
// --trace-sync-io
if (trace_sync_io) {
READONLY_PROPERTY(process, "traceSyncIO", True(env->isolate()));
// Don't env->set_trace_sync_io(true) because it will be enabled
// after LoadEnvironment() has run.
}
size_t exec_path_len = 2 * PATH_MAX; size_t exec_path_len = 2 * PATH_MAX;
char* exec_path = new char[exec_path_len]; char* exec_path = new char[exec_path_len];
Local<String> exec_path_value; Local<String> exec_path_value;

Loading…
Cancel
Save