Skip to content
Browse files

PHPEMBED: partial revert

Summary: this call needs to vary by context

Reviewed By: boz

Test Plan: this is a partial revert

Revert Plan: yes




git-svn-id: svn+ssh://tubbs/svnroot/projects/phpembed/trunk@66910 2c7ba8d8-a2f7-0310-a573-de162e16dcc7
  • Loading branch information...
1 parent c8aee78 commit e179fc1cc872bbe3e55eed840bdbe17ee1826254 boz committed Nov 1, 2007
Showing with 4 additions and 0 deletions.
  1. +4 −0 src/php_cxx.cpp
View
4 src/php_cxx.cpp
@@ -924,7 +924,11 @@ int php::php_set_ini_entry(char *entry, char *value, int stage)
php::~php()
{
PUSH_CTX();
+#ifdef ZTS
php_request_shutdown(TSRMLS_C);
+#else
+ php_request_shutdown((void *)NULL);
+#endif
POP_CTX();
#ifdef ZTS
tsrm_mutex_free(lock);

0 comments on commit e179fc1

Please sign in to comment.
Something went wrong with that request. Please try again.