mirror of
https://github.com/openresty/openresty.git
synced 2024-10-13 00:29:41 +00:00
bugfix: nginx did not destroy the cycle memory pool before the daemon process exits.
This is to make the nginx ASAN or Valgrind clean in daemon mode. It is also meaningful when we have more sophisticated cleanup work needed in the configuration initialization phase and handlers like init_by_lua*.
This commit is contained in:
committed by
Yichun Zhang (agentzh)
parent
a5e7a17cdf
commit
17384566bb
@ -65,6 +65,10 @@ if [ "$answer" = "Y" ]; then
|
||||
echo "$info_txt applying the resolver_conf_parsing patch for nginx"
|
||||
patch -p1 < $root/patches/nginx-$main_ver-resolver_conf_parsing.patch || exit 1
|
||||
echo
|
||||
|
||||
echo "$info_txt applying the daemon-destroy-pool patch for nginx"
|
||||
patch -p1 < $root/patches/nginx-$main_ver-daemon-destroy-pool.patch || exit 1
|
||||
echo
|
||||
fi
|
||||
|
||||
answer=`$root/util/ver-ge "$main_ver" 1.5.12`
|
||||
|
Reference in New Issue
Block a user