mirror of
https://github.com/Mezeporta/Erupe.git
synced 2025-12-13 15:34: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 {
|
for client := range stage.clients {
|
||||||
if client.charID == charID {
|
if client.charID == charID {
|
||||||
stage.RUnlock()
|
stage.RUnlock()
|
||||||
|
c.stagesLock.RUnlock()
|
||||||
return client
|
return client
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user