diff options
author | Stanley Cheung <stanleycheung@google.com> | 2016-06-29 15:05:59 -0700 |
---|---|---|
committer | Stanley Cheung <stanleycheung@google.com> | 2016-06-29 15:05:59 -0700 |
commit | 51b3691e08fd3bf489f7f92b0d476c2cd4d3d777 (patch) | |
tree | bf0200f342e5f0dd2d06e12572792a35ef49a85c /src/php/ext | |
parent | 01d7dbac1f747ca45135f1d79c38656db0701ec6 (diff) |
php: fix shutdown hang, call was never destroyed
Diffstat (limited to 'src/php/ext')
-rw-r--r-- | src/php/ext/grpc/call.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/php/ext/grpc/call.c b/src/php/ext/grpc/call.c index 0ec502262d..2cd45f10dc 100644 --- a/src/php/ext/grpc/call.c +++ b/src/php/ext/grpc/call.c @@ -248,6 +248,7 @@ PHP_METHOD(Call, __construct) { call->wrapped = grpc_channel_create_call( channel->wrapped, NULL, GRPC_PROPAGATE_DEFAULTS, completion_queue, method, host_override, deadline->wrapped, NULL); + call->owned = true; } /** |