From 84ada44894dec721124613820bf640b97ac3e784 Mon Sep 17 00:00:00 2001 From: Ed Addario Date: Sun, 5 Oct 2025 20:20:56 +0100 Subject: [PATCH] Uninstall signal handler and cleanup --- src/llama-quant.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/llama-quant.cpp b/src/llama-quant.cpp index 640672aec7..eb5c9124b5 100644 --- a/src/llama-quant.cpp +++ b/src/llama-quant.cpp @@ -1625,6 +1625,9 @@ static std::unordered_map target_bpw_type( } } + delete_bpw_state(); // we're done, clear any checkpoint + uninstall_signal_handlers(); + return emit_overrides(); }