diff --git a/controllers/llamaCPP.h b/controllers/llamaCPP.h index a7f8762b4..d61536272 100644 --- a/controllers/llamaCPP.h +++ b/controllers/llamaCPP.h @@ -1858,6 +1858,7 @@ class llamaCPP : public drogon::HttpController { } } + ~llamaCPP() { stopBackgroundTask(); } METHOD_LIST_BEGIN // list path definitions here; METHOD_ADD(llamaCPP::chatCompletion, "chat_completion", Post); diff --git a/llama.cpp b/llama.cpp index c6c4fc081..a7aee47b9 160000 --- a/llama.cpp +++ b/llama.cpp @@ -1 +1 @@ -Subproject commit c6c4fc081c1df1c60a9bfe3e6a3fd086f1a29ec7 +Subproject commit a7aee47b98e45539d491071b25778b833b77e387