From ffb4b47367cab304ec947ec4ebb0a6c0dc8028b7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Lal?= Date: Mon, 22 Feb 2010 13:25:57 -0800 Subject: [PATCH] Fix for when EV_MULTIPLICITY=1 --- src/node.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/node.cc b/src/node.cc index fb874e5210..6df0d6e021 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(); }