fix: cancel core

This commit is contained in:
Alex Duan 2023-09-11 17:19:59 +08:00
parent f831bf7d0f
commit c44bd3e3bd
1 changed files with 1 additions and 1 deletions

View File

@ -260,7 +260,7 @@ void shellRunSingleCommandWebsocketImp(char *command) {
WS_RES* res;
for (int reconnectNum = 0; reconnectNum < 2; reconnectNum++) {
if (!shell.ws_conn && shell_conn_ws_server(0)) {
if (!shell.ws_conn && shell_conn_ws_server(0) || shell.stop_query) {
return;
}
st = taosGetTimestampUs();