diff --git a/src/node.cc b/src/node.cc index fb874e5210d..6df0d6e021c 100644 --- a/src/node.cc +++ b/src/node.cc @@ -80,7 +80,7 @@ static ev_timer gc_timer; static void GCTimeout(EV_P_ ev_timer *watcher, int revents) { assert(watcher == &gc_timer); assert(revents == EV_TIMER); - if (ev_pending_count() == 0) V8::IdleNotification(); + if (ev_pending_count(EV_DEFAULT_UC) == 0) V8::IdleNotification(); }