提交 ff73c3f5 编写于 作者: A Alex Duan

fix(shell): threads array destroydump

上级 c71600ba
......@@ -772,7 +772,7 @@ void shellAutoExit() {
taosThreadMutexDestroy(&tiresMutex);
// free threads
for (int32_t i = 0; i < WT_VAR_CNT; i++) {
for (int32_t i = 0; i < WT_FROM_DB_CNT; i++) {
if (threads[i]) {
taosDestroyThread(threads[i]);
threads[i] = NULL;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册