How to safely dispose an instance of a client returned from a singleton?

前端 未结 0 1589
难免孤独
难免孤独 2020-11-30 01:26

Given I have the following code which is provided as a singleton lifetime service through .net core, how can I safely dispose of a client (it does implement IDisposable) and

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