Khaled Jouda
Khaled Jouda

Reputation: 283

Socket.io dynamic rooms

I am writing an app which creates many dynamic rooms, they should live as long as someone is connected. if all clients disconnect they should be cleared

does socket.io clear such rooms automatically? or do I need to clear them manually somehow?

Upvotes: 8

Views: 1782

Answers (1)

Martin
Martin

Reputation: 755

Yes socket.io does clean up rooms when the client is disconnected.

Read more at the git page

Upvotes: 7

Related Questions