Skip to content

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.

3 participants