Skip to content

The delay closing feature of an incoming TCPConn will make memory leak #18

Closed
@zieckey

Description

@zieckey

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions