Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

只能通过UDPSession.Close才能跳出readloop循环,如果通过调用SetXXXDeadline的方式,会造成协程泄露。 #250

Open
blinkbean opened this issue Nov 6, 2023 · 1 comment · May be fixed by #251

Comments

@blinkbean
Copy link

No description provided.

@blinkbean
Copy link
Author

// ctl.tunnel is UDPSession
ctl.tunnel.SetReadDeadline(time.Now().Add(1 * time.Millisecond))

调用SetReadDeadline,对应的readloop导致泄露
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant