Do I need to call Channel.close() when my process exits?

后端 未结 0 616
慢半拍i
慢半拍i 2021-01-22 17:07

I am using gRPC in a Python script, and most of my code is wrapped in this:

def main():
    with grpc.insecure_channel(address) as channel:
        ...

相关标签:
回答
  • 消灭零回复
提交回复
热议问题