fix: race condition
In client.go
if room, ok := message.(outgoing.Room); ok {
c.info.RoomID = room.ID
}
this part isn't thread safe. It could happen that user disconnected but
wasn't removed from a room, because the disconnecting go routine
couldn't see the roomID yet. J
Jannis Mattheis committed
a0f3c3749848079c1aafc4eccb3eefa2c999ec86
Parent: 54f9fb6