Skip to content

NetConn leaks timers #243

Closed
Closed
@ash2k

Description

@ash2k

Hey, first of all thanks a lot for NetConn()! I have written one myself, but then discovered this library and decided to use it instead.

I have noticed that netConn.Close() does not call Stop() on writeTimer and readTimer. I think it should at least if the deadlines have been set. Otherwise these timers are lingering around and that can be an issue if there are a lot of connections.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions