From 8b76d1c559ff36737b8fb39b7b0ac84c1c2028fc Mon Sep 17 00:00:00 2001 From: Mike Brady <4265913+mikebrady@users.noreply.github.com> Date: Sun, 12 Jul 2026 16:18:31 +0100 Subject: [PATCH] Exit immediately when an unfixable error is detected. Don't try to clean up before exit. --- audio_alsa.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/audio_alsa.c b/audio_alsa.c index 83ed20df..6b16fef1 100644 --- a/audio_alsa.c +++ b/audio_alsa.c @@ -212,10 +212,11 @@ void handle_unfixable_error(int errorCode) { if (config.cmd_unfixable) { command_execute(config.cmd_unfixable, messageString, 1); } else { - die("An unrecoverable error, \"output_device_error_%d\", has been " + warn("An unrecoverable error, \"output_device_error_%d\", has been " "detected. Doing an emergency exit, as no run_this_if_an_unfixable_error_is_detected " "program.", errorCode); + _Exit(EXIT_FAILURE); } } }