This commit is contained in:
邹宗楠
2026-01-30 10:00:57 +08:00
parent 8a8f545656
commit 999c3d7ebe
3 changed files with 22 additions and 11 deletions

View File

@@ -159,7 +159,6 @@ func (t *TcpClient) clear(key string) {
t.Lock()
defer t.Unlock()
t.Clients[key].C.Close()
globals.SugarLogger.Debugf("-------close3 := %s", key)
delete(t.Clients, key)
close(t.MsgMap[key])
delete(t.MsgMap, key)