mirror of
https://github.com/php/php-src.git
synced 2025-08-21 01:45:16 +02:00
Supress memory leak reports
This commit is contained in:
parent
967fa51db0
commit
16d0824aef
1 changed files with 3 additions and 0 deletions
|
@ -4106,6 +4106,9 @@ static int accel_finish_startup(void)
|
|||
zend_bool old_reset_signals = SIGG(reset);
|
||||
#endif
|
||||
|
||||
/* Cleanup heap, to avoid memory leak reports */
|
||||
shutdown_memory_manager(1, 0);
|
||||
|
||||
if (UNEXPECTED(file_cache_only)) {
|
||||
zend_accel_error(ACCEL_LOG_WARNING, "Preloading doesn't work in \"file_cache_only\" mode");
|
||||
return SUCCESS;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue