diff options
author | Jérémy Lal <holisme@gmail.com> | 2010-02-22 13:25:57 -0800 |
---|---|---|
committer | Ryan Dahl <ry@tinyclouds.org> | 2010-02-22 13:25:57 -0800 |
commit | ffb4b47367cab304ec947ec4ebb0a6c0dc8028b7 (patch) | |
tree | 1fe116e7f02bb9982d6b9ee534f78f1c469cdb3b /src | |
parent | 46ebaa00ce4fdf2e44ddb419088d813bf83c8ffe (diff) | |
download | node-new-ffb4b47367cab304ec947ec4ebb0a6c0dc8028b7.tar.gz |
Fix for when EV_MULTIPLICITY=1
Diffstat (limited to 'src')
-rw-r--r-- | src/node.cc | 2 |
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(); } |