Skip to content

Commit 7067adc

Browse files
committed
📌 Nodepp | Process::next() bug fixing | V1.3.1 📌
1 parent 2f39a65 commit 7067adc

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

include/nodepp/nodepp.h

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,9 @@ namespace nodepp { namespace process {
4949

5050
/*─······································································─*/
5151

52-
inline int next(){ static uchar count=0; if( count%64==0 ){ yield(); }
53-
count++ ; coStart
52+
inline int next(){
53+
// static uchar count=0; if( count%64==0 ){ yield(); } count++
54+
yield() ; coStart
5455
if( !_poll_.empty() ) { _poll_.next(); coNext; }
5556
if( !_loop_.empty() ) { _loop_.next(); coNext; }
5657
if( !_foop_.empty() ) { _foop_.next(); coNext; }

0 commit comments

Comments
 (0)