提交 d0b305a6 编写于 作者: S shenglian zhou

fix: remove the assert

上级 9d2067d5
...@@ -424,7 +424,6 @@ void taosCacheRelease(SCacheObj *pCacheObj, void **data, bool _remove) { ...@@ -424,7 +424,6 @@ void taosCacheRelease(SCacheObj *pCacheObj, void **data, bool _remove) {
// If it is the last ref, remove it from trashcan linked-list first, and then destroy it.Otherwise, it may be // If it is the last ref, remove it from trashcan linked-list first, and then destroy it.Otherwise, it may be
// destroyed by refresh worker if decrease ref count before removing it from linked-list. // destroyed by refresh worker if decrease ref count before removing it from linked-list.
__cache_wr_lock(pCacheObj); __cache_wr_lock(pCacheObj);
assert(pNode->pTNodeHeader->pData == pNode);
doRemoveElemInTrashcan(pCacheObj, pNode->pTNodeHeader); doRemoveElemInTrashcan(pCacheObj, pNode->pTNodeHeader);
__cache_unlock(pCacheObj); __cache_unlock(pCacheObj);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册