提交 aac52f96 编写于 作者: F freemine

no need to dec ref in fallback mode

上级 09913616
...@@ -438,9 +438,6 @@ static void httpMightDestroyContext(void *data) { ...@@ -438,9 +438,6 @@ static void httpMightDestroyContext(void *data) {
ehttpDecContextRef(&pContext); ehttpDecContextRef(&pContext);
return; return;
} }
int32_t refCount = atomic_sub_fetch_32(&pContext->refCount, 1);
if (refCount>0) return;
EQ_ASSERT(refCount==0);
httpDestroyContext(data); httpDestroyContext(data);
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册