From 2de7ebf4516e58a8fa959977a51dccd22823c0e0 Mon Sep 17 00:00:00 2001
From: lichao <lichao@aiotlink.com>
Date: 星期四, 06 五月 2021 18:58:35 +0800
Subject: [PATCH] fix node recursive lock.

---
 src/topic_node.cpp |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/src/topic_node.cpp b/src/topic_node.cpp
index c31cfc3..3883062 100644
--- a/src/topic_node.cpp
+++ b/src/topic_node.cpp
@@ -77,8 +77,6 @@
 
 void TopicNode::Start(ServerAsyncCB const &server_cb, SubDataCB const &sub_cb, RequestResultCB &client_cb, int nworker)
 {
-	std::lock_guard<std::mutex> lk(mutex_);
-
 	if (!Init()) {
 		SetLastError(eError, "BHome Node Not Inited.");
 		return;

--
Gitblit v1.8.0