Skip to content

Commit db12174

Browse files
committed
forgot to push this somehow, sorry
1 parent f95433a commit db12174

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

main/main.c

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1997,16 +1997,16 @@ void php_request_shutdown(void *dummy)
19971997
zend_unset_timeout();
19981998
} zend_end_try();
19991999

2000-
/* 5. Call all extensions RSHUTDOWN functions */
2001-
if (PG(modules_activated)) {
2002-
zend_deactivate_modules();
2003-
}
2004-
2005-
/* 6. Shutdown output layer (send the set HTTP headers, cleanup output handlers, etc.) */
2000+
/* 5. Shutdown output layer (send the set HTTP headers, cleanup output handlers, etc.) */
20062001
zend_try {
20072002
php_output_deactivate();
20082003
} zend_end_try();
20092004

2005+
/* 6. Call all extensions RSHUTDOWN functions */
2006+
if (PG(modules_activated)) {
2007+
zend_deactivate_modules();
2008+
}
2009+
20102010
/* 7. Free shutdown functions */
20112011
if (PG(modules_activated)) {
20122012
php_free_shutdown_functions();

0 commit comments

Comments
 (0)