Fix for when EV_MULTIPLICITY=1

This commit is contained in:
Jérémy Lal authored and Ryan Dahl committed 2010-02-22 13:25:57 -08:00
1 parent 46ebaa00ce
commit ffb4b47367
1 file changed
+1 -1
+1 -1
View File
@@ -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();
}