1
This commit is contained in:
@@ -264,10 +264,8 @@ func (t *TcpClient) doPrint(key string) (err error) {
|
||||
//t.delConn(printMsg.PrintNo)
|
||||
close(t.TimeoutMap[key])
|
||||
} else {
|
||||
globals.SugarLogger.Debugf("=====wait callback1")
|
||||
//等待回调
|
||||
dataStr := <-t.CallBackMap[printMsg.PrintNo]
|
||||
globals.SugarLogger.Debugf("=====wait callback2 %s", dataStr)
|
||||
if dataStr != "" {
|
||||
a, b := getCallbackMsgInfo(dataStr)
|
||||
t.changePrintMsg(dataStr, a, b)
|
||||
|
||||
Reference in New Issue
Block a user