diff options
author | Craig Tiller <ctiller@google.com> | 2015-07-01 09:45:21 -0700 |
---|---|---|
committer | Craig Tiller <ctiller@google.com> | 2015-07-01 09:45:21 -0700 |
commit | b9a46ae5d7044c6b436a33341135ead3f6fd7779 (patch) | |
tree | 3d6eb82b86855c8bcf7e37a69e7d1528d1ba0b54 /src/core/surface/call.h | |
parent | 06a1963435bdfa4745a503ce4a6c0422302841f1 (diff) |
Fix a bug where cancelled calls can be stranded past disconnection
Diffstat (limited to 'src/core/surface/call.h')
-rw-r--r-- | src/core/surface/call.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/surface/call.h b/src/core/surface/call.h index fb3662b50d..8fa411048b 100644 --- a/src/core/surface/call.h +++ b/src/core/surface/call.h @@ -94,6 +94,8 @@ grpc_call *grpc_call_create(grpc_channel *channel, grpc_completion_queue *cq, void grpc_call_set_completion_queue(grpc_call *call, grpc_completion_queue *cq); grpc_completion_queue *grpc_call_get_completion_queue(grpc_call *call); +#define GRPC_CALL_REF_COUNT_DEBUG + #ifdef GRPC_CALL_REF_COUNT_DEBUG void grpc_call_internal_ref(grpc_call *call, const char *reason); void grpc_call_internal_unref(grpc_call *call, const char *reason, |