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>
This commit is contained in:
Chris911
2016-01-24 15:13:18 -05:00
committed by Roman Reiss
parent 463aa196cc
commit e20abb715e
3 changed files with 2 additions and 4 deletions

View File

@@ -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;

View File

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

View File

@@ -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(),