Merge pull request #17676 from ericgribkoff/really_dealloc_backport

correctly name __dealloc__ method
pull/17699/head
Eric Gribkoff 6 years ago committed by GitHub
commit e6454077a3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      src/python/grpcio/grpc/_cython/_cygrpc/server.pyx.pxi

@ -149,6 +149,6 @@ cdef class Server:
grpc_server_destroy(self.c_server)
self.c_server = NULL
def __dealloc(self):
def __dealloc__(self):
if self.c_server == NULL:
grpc_shutdown()

Loading…
Cancel
Save