Merge pull request #18558 from stanley-cheung/php-fix-shutdown

PHP: should use grpc_shutdown_blocking
pull/18539/head
Stanley Cheung 6 years ago committed by GitHub
commit 906c85b47a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      src/php/ext/grpc/php_grpc.c

@ -180,7 +180,7 @@ void postfork_child() {
grpc_php_shutdown_completion_queue(TSRMLS_C);
// clean-up grpc_core
grpc_shutdown();
grpc_shutdown_blocking();
if (grpc_is_initialized() > 0) {
zend_throw_exception(spl_ce_UnexpectedValueException,
"Oops, failed to shutdown gRPC Core after fork()",

Loading…
Cancel
Save