diff --git a/src/client/src/tscSystem.c b/src/client/src/tscSystem.c index ce0ceb689d7c7bf9fcf3ca34489038e5cfe40885..bb10f9fae9284ddbc45a9b7c57b777197be6f881 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);