summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJérémy Lal <holisme@gmail.com>2010-02-22 13:25:57 -0800
committerRyan Dahl <ry@tinyclouds.org>2010-02-22 13:25:57 -0800
commitffb4b47367cab304ec947ec4ebb0a6c0dc8028b7 (patch)
tree1fe116e7f02bb9982d6b9ee534f78f1c469cdb3b /src
parent46ebaa00ce4fdf2e44ddb419088d813bf83c8ffe (diff)
downloadnode-new-ffb4b47367cab304ec947ec4ebb0a6c0dc8028b7.tar.gz
Fix for when EV_MULTIPLICITY=1
Diffstat (limited to 'src')
-rw-r--r--src/node.cc2
1 files changed, 1 insertions, 1 deletions
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();
}