wangzhengquan
2021-01-26 df524e68ab5b5dc2c6ae9818c01baea2931b8d6b
update
1个文件已修改
2 ■■■■■ 已修改文件
src/socket/bus_server_socket.cpp 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/socket/bus_server_socket.cpp
@@ -102,7 +102,6 @@
    topic_sub_map =    mem_pool_attach<SHMTopicSubMap>(SHM_BUS_MAP_KEY);
 
    run_pubsub_proxy();
    // 进程停止的时候,预留3秒资源回收的时间。否则,会发生调用close的时候,共享内存的资源还没来得及回收进程就退出了
    return 0;
}
@@ -224,7 +223,6 @@
}
void * BusServerSocket::run_pubsub_proxy() {
    // pthread_detach(pthread_self());
    int size;
    int key;
    char * action, *topic, *topics, *buf, *content;