aa
This commit is contained in:
@@ -239,7 +239,14 @@ func (t *TcpClient) doPrint(key string) (err error) {
|
||||
if c != nil {
|
||||
if _, err = c.Write(data); err != nil {
|
||||
globals.SugarLogger.Debugf("handleTcpMessages err [%v]", err)
|
||||
t.delConn(printMsg.PrintNo)
|
||||
//t.delConn(printMsg.PrintNo)
|
||||
if t.isExist(key) {
|
||||
timeoutChan <- 1
|
||||
timeoutChan <- 1
|
||||
timeoutChan <- 1
|
||||
t.clear(key)
|
||||
}
|
||||
return
|
||||
} else {
|
||||
globals.SugarLogger.Debugf("handleTcpMessages success, data: %v", hex.EncodeToString(data))
|
||||
//等待回调
|
||||
|
||||
Reference in New Issue
Block a user