set shutting_down to false once shutdown is complete (#2484)

This commit is contained in:
Jeffrey Morgan 2024-02-13 17:48:41 -08:00 committed by GitHub
parent 6920964b87
commit f7231ad9ad
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -183,6 +183,7 @@ void llama_server_stop() {
delete llama;
llama = NULL;
LOG_TEE("llama server shutdown complete\n");
shutting_down = false;
}
void llama_server_completion(const char *json_req, ext_server_resp_t *resp) {