PHP: fix ZTS build

pull/17326/head
Stanley Cheung 6 years ago
parent 5749f80830
commit 211419d65c
  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