Merge pull request #24891 from tony2001/php_double_hash_destroy

remove zend_hash_destroy() from postfork handler
pull/24909/head
Stanley Cheung 4 years ago committed by GitHub
commit fc66bb707b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      src/php/ext/grpc/php_grpc.c

@ -171,9 +171,7 @@ void prefork() {
// Called at post fork
void php_grpc_clean_persistent_list(TSRMLS_D) {
zend_hash_clean(&grpc_persistent_list);
zend_hash_destroy(&grpc_persistent_list);
zend_hash_clean(&grpc_target_upper_bound_map);
zend_hash_destroy(&grpc_target_upper_bound_map);
}
void postfork_child() {

Loading…
Cancel
Save