Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix ev_unref error in signal handler

  • Loading branch information...
commit cff1df1f9ba2117dfcdcc4ab6cee8854da569761 1 parent 42dd629
@ry ry authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  src/node_signal_handler.cc
View
2  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_);
}
}
Please sign in to comment.
Something went wrong with that request. Please try again.