This commit is contained in:
suyl
2021-08-03 11:28:16 +08:00
parent 8e44870cbf
commit f3aaacae0a
2 changed files with 4 additions and 4 deletions

View File

@@ -280,6 +280,8 @@ func (t *TcpClient) clear(key string) {
delete(t.MsgMap, key)
close(t.CallBackMap[key])
delete(t.CallBackMap, key)
close(t.TimeoutMap[key])
delete(t.TimeoutMap, key)
}
func NewTcpClient() *TcpClient {