fix: cancel core
This commit is contained in:
parent
f831bf7d0f
commit
c44bd3e3bd
|
@ -260,7 +260,7 @@ void shellRunSingleCommandWebsocketImp(char *command) {
|
||||||
WS_RES* res;
|
WS_RES* res;
|
||||||
|
|
||||||
for (int reconnectNum = 0; reconnectNum < 2; reconnectNum++) {
|
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;
|
return;
|
||||||
}
|
}
|
||||||
st = taosGetTimestampUs();
|
st = taosGetTimestampUs();
|
||||||
|
|
Loading…
Reference in New Issue