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