Fix unnecessary unlocking causing panics
This commit is contained in:
parent
a9e5e5cd2f
commit
0a67394023
1 changed files with 0 additions and 2 deletions
|
@ -445,9 +445,7 @@ func Processor(events chan ClientEvent, finished chan struct{}) {
|
|||
if r, found := rooms[room]; found {
|
||||
roomSinks[r] <- ClientEvent{client, EventDel, ""}
|
||||
} else {
|
||||
roomsM.RUnlock()
|
||||
client.ReplyNoChannel(room)
|
||||
continue
|
||||
}
|
||||
}
|
||||
roomsM.RUnlock()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue