aa
This commit is contained in:
@@ -266,6 +266,7 @@ func (t *TcpClient) HandleCheckTcpHeart(key string) {
|
|||||||
t.Clients[key].C.Close()
|
t.Clients[key].C.Close()
|
||||||
close(t.MsgMap[key])
|
close(t.MsgMap[key])
|
||||||
close(t.CallBackMap[key])
|
close(t.CallBackMap[key])
|
||||||
|
delete(t.Clients, key)
|
||||||
globals.SugarLogger.Debugf("HandleCheckTcpHeart timeout")
|
globals.SugarLogger.Debugf("HandleCheckTcpHeart timeout")
|
||||||
return
|
return
|
||||||
default:
|
default:
|
||||||
|
|||||||
Reference in New Issue
Block a user