提交 79e447da 编写于 作者: dengyihao's avatar dengyihao

fix: avoid mem leak when taosd quit

上级 9f0315a9
......@@ -223,6 +223,7 @@ int transSendAsync(SAsyncPool* pool, queue* mq);
uv_async_t* async = &(pool->asyncs[i]); \
SAsyncItem* item = async->data; \
while (!QUEUE_IS_EMPTY(&item->qmsg)) { \
tTrace("destroy msg in async pool "); \
queue* h = QUEUE_HEAD(&item->qmsg); \
QUEUE_REMOVE(h); \
msgType* msg = QUEUE_DATA(h, msgType, q); \
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册