Browse Source

src: remove no longer relevant comments

PR-URL: https://github.com/nodejs/node/pull/4843
Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
Reviewed-By: Fedor Indutny <fedor@indutny.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Roman Reiss <me@silverwind.io>
process-exit-stdio-flushing
Chris911 9 years ago
committed by Roman Reiss
parent
commit
e20abb715e
  1. 1
      src/debug-agent.cc
  2. 1
      src/debug-agent.h
  3. 4
      src/node_crypto.cc

1
src/debug-agent.cc

@ -285,7 +285,6 @@ void Agent::ChildSignalCb(uv_async_t* signal) {
}
// Waiting for client, do not send anything just yet
// TODO(indutny): move this to js-land
if (a->wait_) {
a->messages_.PushFront(msg); // Push message back into the ready queue.
break;

1
src/debug-agent.h

@ -109,7 +109,6 @@ class Agent {
kRunning
};
// TODO(indutny): Verify that there are no races
State state_;
int port_;

4
src/node_crypto.cc

@ -5177,7 +5177,7 @@ void PBKDF2(const FunctionCallbackInfo<Value>& args) {
if (args[5]->IsFunction()) {
obj->Set(env->ondone_string(), args[5]);
// XXX(trevnorris): This will need to go with the rest of domains.
if (env->in_domain())
obj->Set(env->domain_string(), env->domain_array()->Get(0));
uv_queue_work(env->event_loop(),
@ -5338,7 +5338,7 @@ void RandomBytes(const FunctionCallbackInfo<Value>& args) {
if (args[1]->IsFunction()) {
obj->Set(FIXED_ONE_BYTE_STRING(args.GetIsolate(), "ondone"), args[1]);
// XXX(trevnorris): This will need to go with the rest of domains.
if (env->in_domain())
obj->Set(env->domain_string(), env->domain_array()->Get(0));
uv_queue_work(env->event_loop(),

Loading…
Cancel
Save