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/queue/lock_free_queue.h | 1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/src/queue/lock_free_queue.h b/src/queue/lock_free_queue.h index ada70c6..6363ccb 100644 --- a/src/queue/lock_free_queue.h +++ b/src/queue/lock_free_queue.h @@ -212,7 +212,6 @@ typename Allocator, template<typename T, typename AT> class Q_TYPE> LockFreeQueue<ELEM_T, Allocator, Q_TYPE>::~LockFreeQueue() { - // LoggerFactory::getLogger()->debug("LockFreeQueue desctroy"); if (sem_destroy(&slots) == -1) { err_exit(errno, "LockFreeQueue sem_destroy"); } -- Gitblit v1.8.0