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

bugfix: fix memory leak when leave a room after socket close #58

Merged
merged 2 commits into from
Nov 25, 2019

Conversation

joway
Copy link
Contributor

@joway joway commented Nov 6, 2019

We found socket.io may leak memory when we leave a room after socket closed. I see socket.io-adapter will leave all room first before closing a socket, but it's implicit.

So, I think there is no necessity to create new sids in Adapter.prototype.del function. Let me know if you have any suggestions.

@joway
Copy link
Contributor Author

joway commented Nov 6, 2019

@darrachequesne Hi, do you have any time to review it? Thanks!

@darrachequesne darrachequesne merged commit b9074fa into socketio:master Nov 25, 2019
@darrachequesne
Copy link
Member

@wong2 thanks!

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

Successfully merging this pull request may close these issues.

None yet

3 participants