diff --git a/lib/Test/Nginx/Util.pm b/lib/Test/Nginx/Util.pm index 085083a0..0e22d77c 100644 --- a/lib/Test/Nginx/Util.pm +++ b/lib/Test/Nginx/Util.pm @@ -2473,8 +2473,6 @@ retry: END { return if $InSubprocess; - cleanup(); - if ($UseStap || $UseValgrind || !$ENV{TEST_NGINX_NO_CLEAN}) { local $?; # to avoid confusing Test::Builder::_ending if (defined $PidFile && -f $PidFile) {