Fix connection leaking on cancellation (#26178)
* add callstack on debug to make investigation easier * if GetPinnedScopeAsync throws cancellation exception, connection can be leaked not disposed. fixed the issue and added test * make sure cancellation is thrown in test * PR feedbacks * more feedbacks * address PR feedback
Showing
想要评论请 注册 或 登录