From 253693b8e42a751030051d3d619201dc6f5b12db Mon Sep 17 00:00:00 2001
From: LAPTOP-SNT8I5JK\Boounion <Chenluhua@qq.com>
Date: 星期五, 16 五月 2025 11:14:11 +0800
Subject: [PATCH] 1.CGlassPool实现; 2.CGlass翻译逻辑优化; 3.在Glass列表页,Glass项的显示,增加显示贴合的Glass的id

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

diff --git a/SourceCode/Bond/Servo/CMaster.cpp b/SourceCode/Bond/Servo/CMaster.cpp
index be5aab9..29ba607 100644
--- a/SourceCode/Bond/Servo/CMaster.cpp
+++ b/SourceCode/Bond/Servo/CMaster.cpp
@@ -34,11 +34,6 @@
 
 	CMaster::~CMaster()
 	{
-		for (auto item : m_listEquipment) {
-			delete item;
-		}
-		m_listEquipment.clear();
-
 		if (m_hEventReadBitsThreadExit[0] != nullptr) {
 			::CloseHandle(m_hEventReadBitsThreadExit[0]);
 			m_hEventReadBitsThreadExit[0] = nullptr;
@@ -180,6 +175,11 @@
 		saveCache();
 
 
+		for (auto item : m_listEquipment) {
+			delete item;
+		}
+		m_listEquipment.clear();
+
 
 		return 0;
 	}

--
Gitblit v1.9.3