]> granicus.if.org Git - php/commitdiff
Remove duplicate zend_try
authortwosee <twose@qq.com>
Sat, 6 Jun 2020 10:12:05 +0000 (18:12 +0800)
committerNikita Popov <nikita.ppv@gmail.com>
Sun, 7 Jun 2020 08:37:14 +0000 (10:37 +0200)
Closes GH-5672.

main/main.c

index 5903c363fd857b7d6b4b49905eae39579430fe46..f3abf58b13b60ac7aa8f7ca10c643307ab5bb452 100644 (file)
@@ -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 {