Merge pull request #10091 from ctiller/fix-latency

Ensure GRPC_TIMER_END gets called
pull/10095/head
Craig Tiller 8 years ago committed by GitHub
commit c3dc00e553
  1. 2
      src/core/lib/iomgr/error.c

@ -263,7 +263,7 @@ static grpc_error *copy_error_and_unref(grpc_error *in) {
else
out = GRPC_ERROR_CREATE("unknown");
} else if (gpr_ref_is_unique(&in->refs)) {
return in;
out = in;
} else {
out = gpr_malloc(sizeof(*out));
#ifdef GRPC_ERROR_REFCOUNT_DEBUG

Loading…
Cancel
Save