From 5909ef662dca45ce0fd9c2217f7c185225c2bf0c Mon Sep 17 00:00:00 2001
From: LAPTOP-SNT8I5JK\Boounion <Chenluhua@qq.com>
Date: 星期六, 20 九月 2025 15:02:51 +0800
Subject: [PATCH] 1.折叠ListCtrl优化;

---
 SourceCode/Bond/Servo/CMaster.cpp |   10 ++++++++++
 1 files changed, 10 insertions(+), 0 deletions(-)

diff --git a/SourceCode/Bond/Servo/CMaster.cpp b/SourceCode/Bond/Servo/CMaster.cpp
index 5c32fab..7b2da65 100644
--- a/SourceCode/Bond/Servo/CMaster.cpp
+++ b/SourceCode/Bond/Servo/CMaster.cpp
@@ -1480,6 +1480,8 @@
 								if (m_listener.onCjEnd != nullptr) {
 									m_listener.onCjEnd(this, pJob);
 								}
+
+								completeControlJob("工艺正常完成");
 							}
 						}
 					}
@@ -2800,6 +2802,14 @@
 			m_pControlJob = nullptr;
 		}
 
+		// 注意要释放引用
+		m_inProcesJobs.clear();
+		m_completeProcessJobs.clear();
+		m_queueGlasses.clear();
+		m_inProcesGlasses.clear();
+		m_completeGlasses.clear();
+
+
 		saveState();
 
 		return true;

--
Gitblit v1.9.3