Permalink
Browse files

more windows work

  • Loading branch information...
1 parent 0427145 commit c953917a30f1327adcfb5c3dc5acccb5d91870fa @joeferner committed Feb 8, 2012
Showing with 4 additions and 4 deletions.
  1. +3 −3 src/connection.cpp
  2. +1 −1 src/oracle_bindings.cpp
View
@@ -262,7 +262,7 @@ void Connection::EIO_Commit(uv_work_t* req) {
void Connection::EIO_AfterCommit(uv_work_t* req) {
CommitBaton* baton = static_cast<CommitBaton*>(req->data);
- ev_unref(EV_DEFAULT_UC);
+ uv_unref(uv_default_loop());
baton->connection->Unref();
Handle<Value> argv[2];
@@ -280,7 +280,7 @@ void Connection::EIO_Rollback(uv_work_t* req) {
void Connection::EIO_AfterRollback(uv_work_t* req) {
RollbackBaton* baton = static_cast<RollbackBaton*>(req->data);
- ev_unref(EV_DEFAULT_UC);
+ uv_unref(uv_default_loop());
baton->connection->Unref();
Handle<Value> argv[2];
@@ -442,7 +442,7 @@ Local<Array> Connection::CreateV8ArrayFromRows(ExecuteBaton* baton) {
void Connection::EIO_AfterExecute(uv_work_t* req) {
ExecuteBaton* baton = static_cast<ExecuteBaton*>(req->data);
- ev_unref(EV_DEFAULT_UC);
+ uv_unref(uv_default_loop());
baton->connection->Unref();
try {
View
@@ -93,7 +93,7 @@ void OracleClient::EIO_Connect(uv_work_t* req) {
void OracleClient::EIO_AfterConnect(uv_work_t* req) {
HandleScope scope;
connect_baton_t* baton = static_cast<connect_baton_t*>(req->data);
- ev_unref(EV_DEFAULT_UC);
+ uv_unref(uv_default_loop());
baton->client->Unref();
Handle<Value> argv[2];

0 comments on commit c953917

Please sign in to comment.