Skip to content

Commit

Permalink
src: remove no longer relevant comments
Browse files Browse the repository at this point in the history
PR-URL: #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>
  • Loading branch information
Chris911 authored and Myles Borins committed Feb 18, 2016
1 parent 063e14b commit 4e0a0d5
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
1 change: 0 additions & 1 deletion src/debug-agent.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
1 change: 0 additions & 1 deletion src/debug-agent.h
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,6 @@ class Agent {
kRunning
};

// TODO(indutny): Verify that there are no races
State state_;

int port_;
Expand Down
4 changes: 2 additions & 2 deletions src/node_crypto.cc
Original file line number Diff line number Diff line change
Expand Up @@ -4975,7 +4975,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(),
Expand Down Expand Up @@ -5136,7 +5136,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(),
Expand Down

0 comments on commit 4e0a0d5

Please sign in to comment.