From f7231ad9ad35781ed02d93790a965d19abd8bbd8 Mon Sep 17 00:00:00 2001 From: Jeffrey Morgan Date: Tue, 13 Feb 2024 17:48:41 -0800 Subject: [PATCH] set `shutting_down` to `false` once shutdown is complete (#2484) --- llm/ext_server/ext_server.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/llm/ext_server/ext_server.cpp b/llm/ext_server/ext_server.cpp index daba4e65..c69b1c27 100644 --- a/llm/ext_server/ext_server.cpp +++ b/llm/ext_server/ext_server.cpp @@ -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) {