Skip to content
This repository has been archived by the owner on Jun 14, 2023. It is now read-only.

客户端协程泄漏 #81

Closed
yixiangxx opened this issue Dec 7, 2020 · 1 comment · Fixed by #80
Closed

客户端协程泄漏 #81

yixiangxx opened this issue Dec 7, 2020 · 1 comment · Fixed by #80
Assignees
Labels
bug Something isn't working
Milestone

Comments

@yixiangxx
Copy link

yixiangxx commented Dec 7, 2020

客户端协程未正常关闭,导致携程泄漏。
客户端上报发生错误时(send segment error EOF),会尝试关闭stream并重新开启stream进行后续上报,但是调用的是stream.CloseSend(),而不是CloseAndRecv(),导致创建stream过程中,开启的协程未能正常关闭。

@arugal arugal self-assigned this Dec 7, 2020
@arugal arugal added the bug Something isn't working label Dec 7, 2020
@arugal arugal added this to the 0.1.0 milestone Dec 7, 2020
@arugal arugal linked a pull request Jan 13, 2021 that will close this issue
@arugal
Copy link
Member

arugal commented Jan 13, 2021

fixed via #80

@arugal arugal closed this as completed Jan 13, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants