Don't store generator result
This commit is contained in:
1 file changed
+1
-5
@@ -317,11 +317,7 @@ var thread;
|
||||
*/
|
||||
const execute = (_thread) => {
|
||||
thread = _thread;
|
||||
|
||||
var r = _thread.generator.next();
|
||||
if (r.done) {
|
||||
retire();
|
||||
}
|
||||
_thread.generator.next();
|
||||
};
|
||||
|
||||
/**
|
||||
|
||||
Reference in new issue
Block a user