diff options
author | Nikita Popov <nikita.ppv@gmail.com> | 2018-09-16 13:42:00 +0200 |
---|---|---|
committer | Nikita Popov <nikita.ppv@gmail.com> | 2018-09-17 10:13:55 +0200 |
commit | 178dcd47490f7d7842c6c412e2331ed160e55809 (patch) | |
tree | 971fb1ce25b1a0e2c7f274e97072d173146caa99 /sapi/phpdbg/phpdbg_prompt.c | |
parent | ba3bd4ae063103dd63e53a614dd714195a947898 (diff) | |
download | php-git-178dcd47490f7d7842c6c412e2331ed160e55809.tar.gz |
Perform final GC before the object store is freed
free_object_storage intentionally does not free the object allocations
to make sure that they show up as leaks. However, if the object is in
the GC root buffer, the later GC run may end up freeing the allocation,
hiding the leak.
Avoid this by moving the final GC run before free_object_storage, the
way it was done before fast_shutdown was integrated into core.
Diffstat (limited to 'sapi/phpdbg/phpdbg_prompt.c')
0 files changed, 0 insertions, 0 deletions