aa
This commit is contained in:
@@ -282,7 +282,7 @@ func (t *TcpClient) addCallbackChan(key, data string) {
|
|||||||
func (t *TcpClient) clear(key string) {
|
func (t *TcpClient) clear(key string) {
|
||||||
t.Lock()
|
t.Lock()
|
||||||
defer t.Unlock()
|
defer t.Unlock()
|
||||||
t.Clients[key].C.Close()
|
//t.Clients[key].C.Close()
|
||||||
//delete(t.Clients, key)
|
//delete(t.Clients, key)
|
||||||
//close(t.MsgMap[key])
|
//close(t.MsgMap[key])
|
||||||
//delete(t.MsgMap, key)
|
//delete(t.MsgMap, key)
|
||||||
|
|||||||
Reference in New Issue
Block a user