File tree Expand file tree Collapse file tree 3 files changed +2
-4
lines changed Expand file tree Collapse file tree 3 files changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -285,7 +285,6 @@ void Agent::ChildSignalCb(uv_async_t* signal) {
285285 }
286286
287287 // Waiting for client, do not send anything just yet
288- // TODO(indutny): move this to js-land
289288 if (a->wait_ ) {
290289 a->messages_ .PushFront (msg); // Push message back into the ready queue.
291290 break ;
Original file line number Diff line number Diff line change @@ -109,7 +109,6 @@ class Agent {
109109 kRunning
110110 };
111111
112- // TODO(indutny): Verify that there are no races
113112 State state_;
114113
115114 int port_;
Original file line number Diff line number Diff line change @@ -5177,7 +5177,7 @@ void PBKDF2(const FunctionCallbackInfo<Value>& args) {
51775177
51785178 if (args[5 ]->IsFunction ()) {
51795179 obj->Set (env->ondone_string (), args[5 ]);
5180- // XXX(trevnorris): This will need to go with the rest of domains.
5180+
51815181 if (env->in_domain ())
51825182 obj->Set (env->domain_string (), env->domain_array ()->Get (0 ));
51835183 uv_queue_work (env->event_loop (),
@@ -5338,7 +5338,7 @@ void RandomBytes(const FunctionCallbackInfo<Value>& args) {
53385338
53395339 if (args[1 ]->IsFunction ()) {
53405340 obj->Set (FIXED_ONE_BYTE_STRING (args.GetIsolate (), " ondone" ), args[1 ]);
5341- // XXX(trevnorris): This will need to go with the rest of domains.
5341+
53425342 if (env->in_domain ())
53435343 obj->Set (env->domain_string (), env->domain_array ()->Get (0 ));
53445344 uv_queue_work (env->event_loop (),
You can’t perform that action at this time.
0 commit comments