From 27b9cd96f8cb2f42351955dfbbc1f85f81941439 Mon Sep 17 00:00:00 2001 From: Mike Brady <4265913+mikebrady@users.noreply.github.com> Date: Thu, 19 May 2022 18:08:45 +0100 Subject: [PATCH] Only stop the activity monitor once, duh, and correct a debug message. --- shairport.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/shairport.c b/shairport.c index fcc3ed68..60b9c4bf 100644 --- a/shairport.c +++ b/shairport.c @@ -1515,9 +1515,7 @@ void exit_function() { debug(2, "Stopping metadata"); metadata_stop(); // close down the metadata pipe #endif - debug(2, "Deinitialising the audio backend."); - activity_monitor_stop(0); - + debug(2, "Stopping the activity monitor."); activity_monitor_stop(0); if ((config.output) && (config.output->deinit)) {