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

Memory leak in TcpSocket class #573

Closed
AlexeyShinkevich opened this issue Oct 9, 2023 · 0 comments
Closed

Memory leak in TcpSocket class #573

AlexeyShinkevich opened this issue Oct 9, 2023 · 0 comments

Comments

@AlexeyShinkevich
Copy link

Potential memory leak when create TcpSocket in https://github.com/Azure/amqpnetlite/blob/master/src/Net/TcpTransport.cs
The constructor creates two private fields
private readonly SocketAsyncEventArgs sendArgs;
private readonly SocketAsyncEventArgs receiveArgs;

SocketAsyncEventArgs implements IDisposable, but dispose not call in class.

@AlexeyShinkevich AlexeyShinkevich changed the title Memory leak on Memory leak in TcpSocket class Memory leak in TcpSocket class Oct 9, 2023
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

No branches or pull requests

2 participants