From b3b9d91eccd3f54be112ac5389b49969fea93b4c Mon Sep 17 00:00:00 2001
From: lichao <lichao@aiotlink.com>
Date: 星期三, 21 四月 2021 13:22:55 +0800
Subject: [PATCH] trivial.

---
 src/socket.cpp |    7 +------
 1 files changed, 1 insertions(+), 6 deletions(-)

diff --git a/src/socket.cpp b/src/socket.cpp
index 1315474..c664982 100644
--- a/src/socket.cpp
+++ b/src/socket.cpp
@@ -24,11 +24,6 @@
 using namespace bhome_msg;
 using namespace bhome_shm;
 
-namespace
-{
-
-} // namespace
-
 ShmSocket::ShmSocket(Shm &shm, const MQId &id, const int len) :
     run_(false), mq_(id, shm, len)
 {
@@ -42,7 +37,7 @@
 
 ShmSocket::~ShmSocket()
 {
-	Stop(); //TODO should stop in sub class, incase thread access sub class data.
+	Stop();
 }
 
 bool ShmSocket::Start(int nworker, const RecvCB &onData, const IdleCB &onIdle)

--
Gitblit v1.8.0