Skip to content

Commit 6260bc2

Browse files
twosenikic
authored andcommitted
Remove duplicate zend_try
Closes GH-5672.
1 parent 1b85e74 commit 6260bc2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

main/main.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1816,9 +1816,9 @@ void php_request_shutdown(void *dummy)
18161816
php_deactivate_ticks();
18171817

18181818
/* 1. Call all possible shutdown functions registered with register_shutdown_function() */
1819-
if (PG(modules_activated)) zend_try {
1819+
if (PG(modules_activated)) {
18201820
php_call_shutdown_functions();
1821-
} zend_end_try();
1821+
}
18221822

18231823
/* 2. Call all possible __destruct() functions */
18241824
zend_try {

0 commit comments

Comments
 (0)