diff --git a/src/node_io_watcher.cc b/src/node_io_watcher.cc index d007633106..7e516155ab 100644 --- a/src/node_io_watcher.cc +++ b/src/node_io_watcher.cc @@ -51,9 +51,7 @@ void IOWatcher::Callback(EV_P_ ev_io *w, int revents) { argv[0] = Local::New(revents & EV_READ ? True() : False()); argv[1] = Local::New(revents & EV_WRITE ? True() : False()); - io->Ref(); callback->Call(io->handle_, 2, argv); - io->Unref(); if (try_catch.HasCaught()) { FatalException(try_catch);