From cda7a61ffff944b54360fe692390542267fa8d92 Mon Sep 17 00:00:00 2001 From: Bill Date: Fri, 4 Nov 2022 14:49:11 +0800 Subject: [PATCH] fixed deadlock upon failed queries --- server/server.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/server/server.cpp b/server/server.cpp index ff8e681..d618bf7 100644 --- a/server/server.cpp +++ b/server/server.cpp @@ -308,7 +308,7 @@ int dll_main(int argc, char** argv, Context* cxt){ } else{ server->last_error = nullptr; - goto finalize; + //goto finalize; } } @@ -322,8 +322,8 @@ int dll_main(int argc, char** argv, Context* cxt){ cfg->new_query = 0; } //puts(cfg->running? "true": "false"); - //__asm(""); -finalize: PROMPT_RELEASE(); +//finalize: + PROMPT_RELEASE(); } return 0;