opt transport

This commit is contained in:
yihaoDeng 2024-09-05 13:48:17 +08:00
parent ccea816fb9
commit 667da97c3a
1 changed files with 13 additions and 13 deletions

View File

@ -275,9 +275,9 @@ bool transAsyncPoolIsEmpty(SAsyncPool* pool);
#define ASYNC_CHECK_HANDLE(exh1, id) \
do { \
if (id > 0) { \
SExHandle* exh2 = transAcquireExHandle(transGetRefMgt(), id); \
SExHandle* exh2 = transAcquireExHandle(transGetSvrRefMgt(), id); \
if (exh2 == NULL || id != exh2->refId) { \
tDebug("ref:%" PRId64 " already released" PRIu64, id); \
tDebug("ref:%" PRId64 " already released", id); \
code = terrno; \
goto _return1; \
} \