Merge pull request #17325 from stanley-cheung/php-fix-zts

PHP: fix ZTS build
pull/17381/head
Stanley Cheung 6 years ago committed by GitHub
commit a4c9b80d1f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      src/php/ext/grpc/php_grpc.c

@ -170,7 +170,9 @@ void prefork() {
acquire_persistent_locks();
}
void postfork_child(TSRMLS_D) {
void postfork_child() {
TSRMLS_FETCH();
// loop through persistant list and destroy all underlying grpc_channel objs
destroy_grpc_channels();

Loading…
Cancel
Save