set shutting_down
to false
once shutdown is complete (#2484)
This commit is contained in:
parent
6920964b87
commit
f7231ad9ad
1 changed files with 1 additions and 0 deletions
|
@ -183,6 +183,7 @@ void llama_server_stop() {
|
||||||
delete llama;
|
delete llama;
|
||||||
llama = NULL;
|
llama = NULL;
|
||||||
LOG_TEE("llama server shutdown complete\n");
|
LOG_TEE("llama server shutdown complete\n");
|
||||||
|
shutting_down = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
void llama_server_completion(const char *json_req, ext_server_resp_t *resp) {
|
void llama_server_completion(const char *json_req, ext_server_resp_t *resp) {
|
||||||
|
|
Loading…
Reference in a new issue