leaveRoom method
void
leaveRoom()
Leave the room and disconnect from the socket
Implementation
void leaveRoom() {
logger.i('Leaving the room');
socket.close(ESocketCloseCode.normalClosure);
}
Leave the room and disconnect from the socket
void leaveRoom() {
logger.i('Leaving the room');
socket.close(ESocketCloseCode.normalClosure);
}