avoid double send

This commit is contained in:
yihaoDeng 2023-09-23 03:38:00 +00:00
parent 7d5f76c6f1
commit 67cd3ecd7f
1 changed files with 4 additions and 1 deletions

View File

@ -1299,6 +1299,9 @@ int transSendResponse(const STransMsg* msg) {
return 0;
}
SExHandle* exh = msg->info.handle;
if (exh == NULL) {
return 0;
}
int64_t refId = msg->info.refId;
ASYNC_CHECK_HANDLE(exh, refId);