|
|
@@ -307,9 +307,9 @@ func GetClientsByAccountID(accountID uint64) (clients []*client.Client, err erro
|
|
|
global.M2A_LOG.Info("获取LoginID", zap.Any("loginIds", loginIds))
|
|
|
}
|
|
|
|
|
|
- var mtx sync.RWMutex
|
|
|
- mtx.Lock()
|
|
|
- defer mtx.Unlock()
|
|
|
+ // var mtx sync.RWMutex
|
|
|
+ // mtx.Lock()
|
|
|
+ // defer mtx.Unlock()
|
|
|
if len(loginIds) > 0 && len(client.Clients) > 0 {
|
|
|
for _, item := range loginIds {
|
|
|
for _, client := range client.Clients {
|