This commit is contained in:
邹宗楠
2024-04-08 18:02:43 +08:00
parent e0c1a93d66
commit 680c2030ec

View File

@@ -73,6 +73,7 @@ func handleConn(c net.Conn) error {
}
if nowPrintNo != "" {
globals.SugarLogger.Debugf("打印机连接错误:%v delete : %s", err, nowPrintNo)
changePrinterStatus(nowPrintNo, printerStatusOffline)
delete(PrintObject, nowPrintNo)
}
return err