This commit is contained in:
suyl
2021-08-03 13:59:19 +08:00
parent d7525a0bae
commit 9581139b91

View File

@@ -282,7 +282,7 @@ func (t *TcpClient) addCallbackChan(key, data string) {
func (t *TcpClient) clear(key string) {
t.Lock()
defer t.Unlock()
t.Clients[key].C.Close()
//t.Clients[key].C.Close()
//delete(t.Clients, key)
//close(t.MsgMap[key])
//delete(t.MsgMap, key)