crypto: set data before sending to thread pool
fixes test-crypto
This commit is contained in:
parent
c91ec225e6
commit
84cf0c5280
@ -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();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user