-
Notifications
You must be signed in to change notification settings - Fork 948
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
The delay closing feature of an incoming TCPConn will make memory leak #18
Labels
Comments
Fixed |
Closed
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
If TCPServer has a TCPConn to be delay closing, we set a timer to it :
loop_->RunAfter(close_delay_, std::bind(&TCPConn::HandleClose, shared_from_this()));
And now we stop the whole TCPServer immediately, this timer will never be invoken.
The text was updated successfully, but these errors were encountered: