Ver Fonte

correctly name __dealloc__ method

Eric Gribkoff há 6 anos atrás
pai
commit
025cb9b1e7
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      src/python/grpcio/grpc/_cython/_cygrpc/server.pyx.pxi

+ 1 - 1
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()