handle except

This commit is contained in:
Shengliang 2022-03-25 14:55:58 +08:00
parent c428c9395e
commit 9addf717c9
1 changed files with 1 additions and 1 deletions

View File

@ -292,7 +292,7 @@ void uvOnSendCb(uv_write_t* req, int status) {
} }
transQueuePop(&conn->srvMsgs); transQueuePop(&conn->srvMsgs);
tfree(msg); tfree(msg);
msg = (SSrvMsg*)transQueuePop(&conn->srvMsgs); msg = (SSrvMsg*)transQueueGet(&conn->srvMsgs, 0);
if (msg != NULL) { if (msg != NULL) {
uvStartSendRespInternal(msg); uvStartSendRespInternal(msg);
} }