Socket io deixa todos os quartos
// Function to get socket to leave all rooms it's connected to.
socket.leaveAll();
Bugge
// Function to get socket to leave all rooms it's connected to.
socket.leaveAll();