Problem/Motivation
Fiber loops in Renderer and BigPipe are never suspended due to $iterations being reset at every iteration of the while loop
Steps to reproduce
- Create a placeholder callback that call Fiber::suspend at least twice
- Place breakpoint in the BigPipe.php:577 where it suspends to allow higher code to execute
- Iterations are always 0 so Fiber::suspend never called
It does not really affect anything yet because there are no higher fibers yet.
Proposed resolution
Move the $iterations declaration out of the while loops.
Remaining tasks
- Move $iteration declarations
- Provide tests if possible/needed
User interface changes
-
API changes
-
Data model changes
-
Release notes snippet
-