Socket.io dynamic rooms

socket.io

Solution

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

Read more at the git page

Problem

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?

Original source