summaryrefslogtreecommitdiff
path: root/sapi/phpdbg/phpdbg_help.c
diff options
context:
space:
mode:
authorNikita Popov <nikita.ppv@gmail.com>2018-01-13 11:04:26 +0100
committerNikita Popov <nikita.ppv@gmail.com>2018-01-13 11:04:26 +0100
commit8c07170ddbe28d8cc31e71f0ceb94fc4ac329657 (patch)
tree72ca8d2ee9b51139aa0f8fc6b48b1e4cb9062a97 /sapi/phpdbg/phpdbg_help.c
parentcab0a814bdbfc653754f74b42056c38bdf4fbadb (diff)
downloadphp-git-8c07170ddbe28d8cc31e71f0ceb94fc4ac329657.tar.gz
Fix generator GC if yield from parent chain does not reach root
Parents may be unlinked while another generator sharing part of the chain is running. As such, we cannot assume that the parent chain goes all the way to the root. Instead walk backwards from root to leaf, like we also do during destruction.
Diffstat (limited to 'sapi/phpdbg/phpdbg_help.c')
0 files changed, 0 insertions, 0 deletions