Skip to content

Commit

Permalink
Fix goroutines leak in game-load-balancer.
Browse files Browse the repository at this point in the history
  • Loading branch information
walkline committed Feb 29, 2024
1 parent 7561686 commit 15cd821
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/game-load-balancer/service/gameserver-grpc-conn.go
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ func (m *gameServerGRPCConnMgrImpl) GRPCConnByGameServerAddress(address string)
conn, err = m.establishConn(connAddress)
if err == nil {
m.lock.Lock()
m.addressWithConn[address] = conn
m.addressWithConn[connAddress] = conn
m.lock.Unlock()
}
}
Expand Down

0 comments on commit 15cd821

Please sign in to comment.