diff options
author | 2017-09-25 13:35:48 -0700 | |
---|---|---|
committer | 2017-09-25 13:35:48 -0700 | |
commit | 9247ad5c55fbc9013484257b98d2df926e238fab (patch) | |
tree | e269e7150335daa77e8fa071b837596fd577f0b3 /src/core/ext/filters/client_channel | |
parent | 008a173a7e2ba1d5c0933aa7a77395945ba2024d (diff) |
Fix dumb timer cancellation bug (reversed conditional).
Diffstat (limited to 'src/core/ext/filters/client_channel')
-rw-r--r-- | src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb.c b/src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb.c index 85ef7894ea..bfda9460c0 100644 --- a/src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb.c +++ b/src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb.c @@ -1349,7 +1349,7 @@ static void lb_call_destroy_locked(grpc_exec_ctx *exec_ctx, grpc_byte_buffer_destroy(glb_policy->lb_request_payload); grpc_slice_unref_internal(exec_ctx, glb_policy->lb_call_status_details); - if (!glb_policy->client_load_report_timer_pending) { + if (glb_policy->client_load_report_timer_pending) { grpc_timer_cancel(exec_ctx, &glb_policy->client_load_report_timer); } } |