标签: c# grpc grpc-dotnet
我已经在C#中实现了gRPC客户端。 我应该关闭析构函数中的通道吗?
private readonly Channel channel; ~MyClient() { this.channel.ShutdownAsync().Wait(); }