From 6d106eb1bb92dc235bcbda976ae232729bf52c7c Mon Sep 17 00:00:00 2001
From: LAPTOP-T815PCOQ\25526 <mr.liuyang@126.com>
Date: 星期一, 25 十一月 2024 13:46:15 +0800
Subject: [PATCH] 合并代码

---
 SourceCode/Bond/BondEq/CPLC.cpp |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/SourceCode/Bond/BondEq/CPLC.cpp b/SourceCode/Bond/BondEq/CPLC.cpp
index 9b1584c..7a7afcf 100644
--- a/SourceCode/Bond/BondEq/CPLC.cpp
+++ b/SourceCode/Bond/BondEq/CPLC.cpp
@@ -308,7 +308,7 @@
 	static int iii = 0;
 	iii++;
 	if (iii % 5 == 3) {
-		if (!m_pChannel->isConnected())
+		if (m_pChannel != nullptr && !m_pChannel->isConnected())
 			m_pChannel->connect();
 	}
 }
\ No newline at end of file

--
Gitblit v1.9.3