[Aio] Fix the wait_for_termination return value (#29795)

pull/29825/head
Lidi Zheng 3 years ago committed by GitHub
parent 18307587b4
commit abde72280d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      src/python/grpcio/grpc/_cython/_cygrpc/aio/server.pyx.pxi

@ -1068,10 +1068,10 @@ cdef class AioServer:
except asyncio.TimeoutError:
if self._crash_exception is not None:
raise self._crash_exception
return False
return True
if self._crash_exception is not None:
raise self._crash_exception
return True
return False
def __dealloc__(self):
"""Deallocation of Core objects are ensured by Python layer."""

Loading…
Cancel
Save