From 24678070d451711a03a69ca3a7aa6e695efeff28 Mon Sep 17 00:00:00 2001 From: wangzhengquan <wangzhengquan85@126.com> Date: 星期五, 12 三月 2021 19:05:12 +0800 Subject: [PATCH] upate --- src/queue/shm_queue.h | 5 +---- 1 files changed, 1 insertions(+), 4 deletions(-) diff --git a/src/queue/shm_queue.h b/src/queue/shm_queue.h index 7893485..0921af3 100644 --- a/src/queue/shm_queue.h +++ b/src/queue/shm_queue.h @@ -79,10 +79,7 @@ template <typename ELEM_T> SHMQueue<ELEM_T>::~SHMQueue() { LoggerFactory::getLogger()->debug("SHMQueue destroy"); - if(owner) { - delete queue; - hashtable_remove(hashtable, mkey); - } + } -- Gitblit v1.8.0