From dc86ace85e437ecb8a2e728e4dce36d02bbb8a6e Mon Sep 17 00:00:00 2001
From: lichao <lichao@aiotlink.com>
Date: 星期五, 23 四月 2021 12:59:50 +0800
Subject: [PATCH] move ref count into msg meta, only 1 poinetr now.

---
 box/center.cpp |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/box/center.cpp b/box/center.cpp
index 3059e90..0f547e9 100644
--- a/box/center.cpp
+++ b/box/center.cpp
@@ -454,7 +454,6 @@
 				replyer(reply);
 			} else {
 				replyer(MakeReply(eSuccess));
-				if (!msg.EnableRefCount(socket.shm())) { return; } // no memory?
 				if (clients.empty()) { return; }
 
 				auto it = clients.begin();

--
Gitblit v1.8.0