From 709a03a9f8a840bd1af837c3efe7f1b27026344b Mon Sep 17 00:00:00 2001 From: twosee Date: Sat, 6 Jun 2020 18:12:05 +0800 Subject: [PATCH] Remove duplicate zend_try --- main/main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main/main.c b/main/main.c index 5903c363fd857..f3abf58b13b60 100644 --- a/main/main.c +++ b/main/main.c @@ -1816,9 +1816,9 @@ void php_request_shutdown(void *dummy) php_deactivate_ticks(); /* 1. Call all possible shutdown functions registered with register_shutdown_function() */ - if (PG(modules_activated)) zend_try { + if (PG(modules_activated)) { php_call_shutdown_functions(); - } zend_end_try(); + } /* 2. Call all possible __destruct() functions */ zend_try {