Memory leaked as all network endpoints were not shut down · Issue #2760 · googleapis/google-cloud-python

I got an interesting scenario when using google-cloud-pubsub. I would like to get all the topics in the pubsub, and my code is, from google.cloud import pubsub def list_topics(pubsub_client): """Li...