Skip to content

Potential memory leak when using domains #1242

Closed
@emptyemail

Description

@emptyemail

Hi, not sure this is an issue, but I discovered that connection._socket will maintain a link to the domain that was active when the connection was first utilized. Since we usually use a connection pool its very likely that the domain in question is no longer valid but the socket is still referencing it. My suggestion would be to bind the connect method to the domain that was active when the connection was created.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions