This commit is contained in:
邹宗楠
2022-12-16 11:04:14 +08:00
parent 2ca0df3f40
commit c75d1a66c5
2 changed files with 0 additions and 3 deletions

View File

@@ -158,7 +158,6 @@ func (t *TcpClient) HandleTcpMessages(printNo string) {
if !t.isExistMsg(printNo) {
return
}
globals.SugarLogger.Debugf("HandleTcpMessages printNo: %s", printNo)
go func() {
for {
select {

View File

@@ -153,7 +153,6 @@ func (t *TcpClient) delConn(key string) {
func (t *TcpClient) addConn(c net.Conn, key string, status int) {
t.Lock()
defer t.Unlock()
globals.SugarLogger.Debugf("addConn key: %s", key)
t.Clients[key] = &PrintInfo{
C: c,
Status: status,
@@ -203,7 +202,6 @@ func (t *TcpClient) getPrintStatus(key string) int {
func (t *TcpClient) getPrintConn(key string) net.Conn {
t.RLock()
defer t.RUnlock()
globals.SugarLogger.Debugf("=====c :;= %s", utils.Format4Output(t.Clients, false))
if t.Clients[key] != nil {
return t.Clients[key].C
} else {