File tree 2 files changed +5
-4
lines changed
2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change 18
18
*/
19
19
20
20
#include "zend.h"
21
+
22
+ #include <zend_namespaces.h>
23
+
21
24
#include "zend_extensions.h"
22
25
#include "zend_modules.h"
23
26
#include "zend_constants.h"
@@ -1223,6 +1226,8 @@ void zend_shutdown(void) /* {{{ */
1223
1226
zend_map_ptr_static_last = 0 ;
1224
1227
zend_map_ptr_static_size = 0 ;
1225
1228
1229
+ zend_destroy_namespaces ();
1230
+
1226
1231
zend_destroy_rsrc_list_dtors ();
1227
1232
1228
1233
zend_unload_modules ();
Original file line number Diff line number Diff line change 66
66
#include <sys/wait.h>
67
67
#endif
68
68
69
- #include <zend_namespaces.h>
70
-
71
69
#include "zend_compile.h"
72
70
#include "zend_execute.h"
73
71
#include "zend_highlight.h"
@@ -1968,8 +1966,6 @@ void php_request_shutdown(void *dummy)
1968
1966
zend_post_deactivate_modules ();
1969
1967
} zend_end_try ();
1970
1968
1971
- zend_destroy_namespaces ();
1972
-
1973
1969
/* 12. SAPI related shutdown*/
1974
1970
zend_try {
1975
1971
sapi_deactivate_module ();
You can’t perform that action at this time.
0 commit comments