Browse Source

node_crypto: interface with libuv, not libev

v0.7.4-release
Bert Belder 14 years ago
parent
commit
9728723508
  1. 4
      src/node_crypto.cc

4
src/node_crypto.cc

@ -3783,7 +3783,7 @@ int
EIO_PBKDF2After(eio_req* req) {
HandleScope scope;
ev_unref(EV_DEFAULT_UC);
uv_unref();
pbkdf2_req* request = (pbkdf2_req*)req->data;
Handle<Value> argv[2];
@ -3865,7 +3865,7 @@ PBKDF2(const Arguments& args) {
request->callback = Persistent<Function>::New(callback);
eio_custom(EIO_PBKDF2, EIO_PRI_DEFAULT, EIO_PBKDF2After, request);
ev_ref(EV_DEFAULT_UC);
uv_ref();
return Undefined();
}

Loading…
Cancel
Save