This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

Fix ev_unref error in signal handler

  • Loading branch information...
1 parent 42dd629 commit cff1df1f9ba2117dfcdcc4ab6cee8854da569761 @ry ry committed Nov 7, 2009
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/node_signal_handler.cc
@@ -34,7 +34,7 @@ void SignalHandler::OnSignal(EV_P_ ev_signal *watcher, int revents) {
SignalHandler::~SignalHandler() {
if (watcher_.active) {
- ev_unref(EV_DEFAULT_UC);
+ ev_ref(EV_DEFAULT_UC);
ev_signal_stop(EV_DEFAULT_UC_ &watcher_);
}
}

0 comments on commit cff1df1

Please sign in to comment.