fix case issue

This commit is contained in:
dapan1121 2022-06-08 18:58:52 +08:00
parent e8a3a03952
commit 9b70420b3c
1 changed files with 2 additions and 2 deletions

View File

@ -515,13 +515,13 @@ void* consumeThreadFunc(void* param) {
if (err) { if (err) {
pError("tmq_unsubscribe() fail, reason: %s\n", tmq_err2str(err)); pError("tmq_unsubscribe() fail, reason: %s\n", tmq_err2str(err));
pInfo->consumeMsgCnt = -1; pInfo->consumeMsgCnt = -1;
return NULL; //return NULL;
} }
err = tmq_consumer_close(pInfo->tmq); err = tmq_consumer_close(pInfo->tmq);
if (err) { if (err) {
pError("tmq_consumer_close() fail, reason: %s\n", tmq_err2str(err)); pError("tmq_consumer_close() fail, reason: %s\n", tmq_err2str(err));
exit(-1); //exit(-1);
} }
pInfo->tmq = NULL; pInfo->tmq = NULL;