fix readlocked channels

This commit is contained in:
wish
2022-08-03 01:52:27 +10:00
parent 457f6344fc
commit 80d9a40558

View File

@@ -375,6 +375,7 @@ func (s *Server) FindSessionByCharID(charID uint32) *Session {
for client := range stage.clients {
if client.charID == charID {
stage.RUnlock()
c.stagesLock.RUnlock()
return client
}
}