From: twosee Date: Sat, 6 Jun 2020 10:12:05 +0000 (+0800) Subject: Remove duplicate zend_try X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6260bc218f3b8d117d6f37855afc8da00754c030;p=php Remove duplicate zend_try Closes GH-5672. --- diff --git a/main/main.c b/main/main.c index 5903c363fd..f3abf58b13 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 {