From d1d1b4c80a1aca05406212fe26028fb2aa4b2c59 Mon Sep 17 00:00:00 2001 From: yihaoDeng Date: Sun, 3 Jan 2021 15:40:03 +0000 Subject: [PATCH] delete redundancy code --- src/client/src/tscSystem.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/client/src/tscSystem.c b/src/client/src/tscSystem.c index ce0ceb689d..bb10f9fae9 100644 --- a/src/client/src/tscSystem.c +++ b/src/client/src/tscSystem.c @@ -236,10 +236,6 @@ void taos_cleanup(void) { if (tscEmbedded == 0) rpcCleanup(); - if (tscEmbedded == 0) { - rpcCleanup(); - } - p = tscTmr; tscTmr = NULL; taosTmrCleanUp(p); -- GitLab