closeRoom method

void closeRoom()

Close the room and disconnect from the socket

Implementation

void closeRoom() {
  logger.i('Closing the room');
  socket.publish(Request_Request.closeRoom, null);
}