fixed deadlock upon failed queries

dev
Bill 2 years ago
parent c628d5a569
commit cda7a61fff

@ -308,7 +308,7 @@ int dll_main(int argc, char** argv, Context* cxt){
} }
else{ else{
server->last_error = nullptr; 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; cfg->new_query = 0;
} }
//puts(cfg->running? "true": "false"); //puts(cfg->running? "true": "false");
//__asm(""); //finalize:
finalize: PROMPT_RELEASE(); PROMPT_RELEASE();
} }
return 0; return 0;

Loading…
Cancel
Save