no need to dec ref in fallback mode
This commit is contained in:
parent
09913616c5
commit
aac52f9691
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue