Browse Source

ev: fix infinite loop in ev_walk()

v0.7.4-release
Ben Noordhuis 14 years ago
parent
commit
0c4e735401
  1. 2
      deps/uv/src/ev/ev.c

2
deps/uv/src/ev/ev.c

@ -3846,7 +3846,7 @@ ev_walk (EV_P_ int types, void (*cb)(EV_P_ int type, void *w))
#if EV_IDLE_ENABLE
if (types & EV_IDLE)
for (j = NUMPRI; i--; )
for (j = NUMPRI; j--; )
for (i = idlecnt [j]; i--; )
cb (EV_A_ EV_IDLE, idles [j][i]);
#endif

Loading…
Cancel
Save