mirror of
https://github.com/zebrajr/node.git
synced 2026-01-15 12:15:26 +00:00
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:
@@ -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;
|
||||
|
||||
@@ -109,7 +109,6 @@ class Agent {
|
||||
kRunning
|
||||
};
|
||||
|
||||
// TODO(indutny): Verify that there are no races
|
||||
State state_;
|
||||
|
||||
int port_;
|
||||
|
||||
@@ -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(),
|
||||
|
||||
Reference in New Issue
Block a user