From 1c91bcceb06d4cbb06f775d03bda7a86cb19615d Mon Sep 17 00:00:00 2001 From: Eric Gribkoff Date: Wed, 9 Jan 2019 10:33:48 -0800 Subject: [PATCH] correctly name __dealloc__ method --- src/python/grpcio/grpc/_cython/_cygrpc/server.pyx.pxi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/python/grpcio/grpc/_cython/_cygrpc/server.pyx.pxi b/src/python/grpcio/grpc/_cython/_cygrpc/server.pyx.pxi index d72648a35d0..ef74f61e043 100644 --- a/src/python/grpcio/grpc/_cython/_cygrpc/server.pyx.pxi +++ b/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()