aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar Eric Gribkoff <ericgribkoff@google.com>2019-01-09 10:33:48 -0800
committerGravatar Eric Gribkoff <ericgribkoff@google.com>2019-01-09 10:33:48 -0800
commit025cb9b1e712ad215b9180d9a74c2c71ce870ac2 (patch)
tree40221656fd992b1d56c6b6664c6cc95655f617ce
parentcc0449465fb76516c15c05cacc1c624e471f2014 (diff)
correctly name __dealloc__ method
-rw-r--r--src/python/grpcio/grpc/_cython/_cygrpc/server.pyx.pxi2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/python/grpcio/grpc/_cython/_cygrpc/server.pyx.pxi b/src/python/grpcio/grpc/_cython/_cygrpc/server.pyx.pxi
index d72648a35d..ef74f61e04 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()