We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 30885f3 commit c3f5bbdCopy full SHA for c3f5bbd
Zend/zend_generators.c
@@ -579,7 +579,7 @@ ZEND_API zend_generator *zend_generator_update_current(zend_generator *generator
579
580
EG(current_execute_data) = original_execute_data;
581
582
- if (!((old_root ? old_root : generator)->flags & ZEND_GENERATOR_CURRENTLY_RUNNING)) {
+ if (!(old_root->flags & ZEND_GENERATOR_CURRENTLY_RUNNING)) {
583
new_root->node.parent = NULL;
584
OBJ_RELEASE(&new_root_parent->std);
585
zend_generator_resume(generator);
0 commit comments