From c479ef57baaaa28964fc3ec8d80ff99dffa7d49f Mon Sep 17 00:00:00 2001
From: fujuntang <fujuntang@smartai.com>
Date: 星期三, 10 十一月 2021 09:49:29 +0800
Subject: [PATCH] Fix the system hang issue when the app is killed contantly.

---
 src/socket/bus_server_socket.h |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/src/socket/bus_server_socket.h b/src/socket/bus_server_socket.h
index 7b94ba1..4cd0140 100644
--- a/src/socket/bus_server_socket.h
+++ b/src/socket/bus_server_socket.h
@@ -8,6 +8,7 @@
 #include "sem_util.h"
 #include "logger_factory.h"
 #include "key_def.h"
+#include "msg_mgr.h"
 #include "socket_def.h"
 #include <set>
 
@@ -62,6 +63,7 @@
   // pthread_t recv_thread;
   // <涓婚锛� 璁㈤槄鑰�>
 	SHMTopicSubMap *topic_sub_map;
+  recvbuf_data recvBuf_data;
 
 private:
 	int  destroy();
@@ -122,6 +124,8 @@
 	int get_key() ;
 
   void _data_remove(int val);
+  void buf_data_set(int data, int val);
+  void buf_data_remove(int data);
 
 };
 

--
Gitblit v1.8.0