correctly name __dealloc__ method

pull/17676/head
Eric Gribkoff 6 years ago
parent 16d6deee9f
commit 1c91bcceb0
  1. 2
      src/python/grpcio/grpc/_cython/_cygrpc/server.pyx.pxi

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

Loading…
Cancel
Save