mirror of
https://github.com/nodejs/node.git
synced 2026-11-21 12:59:16 -05:00
ev: fix infinite loop in ev_walk()
This commit is contained in:
1 parent
88f416a5ed
commit
0c4e735401
1 file changed
+1
-1
Vendored
+1
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user