Merge pull request #18277 from lidizheng/nogil-unref

Remove GIL for grpc_call_unref
reviewable/pr18052/r5^2
Lidi Zheng 6 years ago committed by GitHub
commit c73c724778
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      src/python/grpcio/grpc/_cython/_cygrpc/call.pyx.pxi

@ -85,6 +85,7 @@ cdef class Call:
return result
def __dealloc__(self):
with nogil:
if self.c_call != NULL:
grpc_call_unref(self.c_call)
grpc_shutdown_blocking()

Loading…
Cancel
Save