mirror of
https://github.com/Mezeporta/Erupe.git
synced 2025-12-12 15:04:38 +01:00
fix readlocked channels
This commit is contained in:
@@ -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
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user