[example] Fix bad example (#32161)

Channel object has no method ``stop``, it supposed to be ``close`` here.

---------

Co-authored-by: Xuan Wang <xuanwn@google.com>
pull/33013/head^2
molto 2 years ago committed by GitHub
parent 207f3ec865
commit 1980841257
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      examples/python/multiprocessing/client.py

@ -41,9 +41,9 @@ _LOGGER = logging.getLogger(__name__)
def _shutdown_worker():
_LOGGER.info('Shutting worker process down.')
_LOGGER.info("Shutting worker process down.")
if _worker_channel_singleton is not None:
_worker_channel_singleton.stop()
_worker_channel_singleton.close()
def _initialize_worker(server_address):

Loading…
Cancel
Save