no need to dec ref in fallback mode

This commit is contained in:
freemine 2020-08-01 22:12:35 +08:00
parent 09913616c5
commit aac52f9691
1 changed files with 0 additions and 3 deletions

View File

@ -438,9 +438,6 @@ static void httpMightDestroyContext(void *data) {
ehttpDecContextRef(&pContext);
return;
}
int32_t refCount = atomic_sub_fetch_32(&pContext->refCount, 1);
if (refCount>0) return;
EQ_ASSERT(refCount==0);
httpDestroyContext(data);
}