This commit is contained in:
suyl
2021-08-03 15:45:26 +08:00
parent 8de2b13d5f
commit 3dc511f26b

View File

@@ -266,6 +266,7 @@ func (t *TcpClient) HandleCheckTcpHeart(key string) {
t.Clients[key].C.Close()
close(t.MsgMap[key])
close(t.CallBackMap[key])
delete(t.Clients, key)
globals.SugarLogger.Debugf("HandleCheckTcpHeart timeout")
return
default: