From c628d5a569c4e628bcf36e539d63e72bf1c6eb80 Mon Sep 17 00:00:00 2001 From: Bill Date: Fri, 4 Nov 2022 14:37:21 +0800 Subject: [PATCH] fixed deadlock --- server/server.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/server/server.cpp b/server/server.cpp index 6a9bc43..ff8e681 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; - continue; + 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(""); - PROMPT_RELEASE(); + //__asm(""); +finalize: PROMPT_RELEASE(); } return 0;