Skip to content
This repository has been archived by the owner on Jan 13, 2022. It is now read-only.

Commit

Permalink
PHPEMBED: partial revert
Browse files Browse the repository at this point in the history
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
boz committed Nov 1, 2007
1 parent c8aee78 commit e179fc1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/php_cxx.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit e179fc1

Please sign in to comment.