add taos_close
This commit is contained in:
parent
3f5d6ca988
commit
128880c1cf
|
@ -1117,7 +1117,6 @@ int32_t shellExecute() {
|
||||||
ws_close(shell.ws_conn);
|
ws_close(shell.ws_conn);
|
||||||
} else {
|
} else {
|
||||||
#endif
|
#endif
|
||||||
taos_kill_query(shell.conn);
|
|
||||||
taos_close(shell.conn);
|
taos_close(shell.conn);
|
||||||
#ifdef WEBSOCKET
|
#ifdef WEBSOCKET
|
||||||
}
|
}
|
||||||
|
@ -1162,5 +1161,8 @@ int32_t shellExecute() {
|
||||||
taosThreadJoin(spid, NULL);
|
taosThreadJoin(spid, NULL);
|
||||||
|
|
||||||
shellCleanupHistory();
|
shellCleanupHistory();
|
||||||
|
taos_kill_query(shell.conn);
|
||||||
|
taos_close(shell.conn);
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue