summaryrefslogtreecommitdiff
path: root/Zend/zend.c
diff options
context:
space:
mode:
Diffstat (limited to 'Zend/zend.c')
-rw-r--r--Zend/zend.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/Zend/zend.c b/Zend/zend.c
index 50857bc688..8d6cd7148f 100644
--- a/Zend/zend.c
+++ b/Zend/zend.c
@@ -715,6 +715,10 @@ int zend_startup(zend_utility_functions *utility_functions, char **extensions) /
tsrm_set_new_thread_end_handler(zend_new_thread_end_handler);
#endif
+#ifdef ZEND_SIGNALS
+ zend_signal_startup();
+#endif
+
return SUCCESS;
}
/* }}} */
@@ -769,9 +773,6 @@ void zend_post_startup(void) /* {{{ */
void zend_shutdown(void) /* {{{ */
{
-#ifdef ZEND_SIGNALS
- zend_signal_shutdown();
-#endif
zend_destroy_rsrc_list(&EG(persistent_list));
if (EG(active))
{