crypto: set data before sending to thread pool

fixes test-crypto
pull/22966/head
Ryan Dahl 2011-08-31 16:11:00 -07:00
parent c91ec225e6
commit 84cf0c5280
1 changed files with 1 additions and 1 deletions

View File

@ -3878,8 +3878,8 @@ PBKDF2(const Arguments& args) {
request->callback = Persistent<Function>::New(callback);
uv_work_t* req = new uv_work_t();
uv_queue_work(uv_default_loop(), req, EIO_PBKDF2, EIO_PBKDF2After);
req->data = request;
uv_queue_work(uv_default_loop(), req, EIO_PBKDF2, EIO_PBKDF2After);
return Undefined();
}