From: Mike Brady <4265913+mikebrady@users.noreply.github.com> Date: Thu, 19 May 2022 17:08:45 +0000 (+0100) Subject: Only stop the activity monitor once, duh, and correct a debug message. X-Git-Tag: 4.1-rc1~24^2~210 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=27b9cd96f8cb2f42351955dfbbc1f85f81941439;p=thirdparty%2Fshairport-sync.git Only stop the activity monitor once, duh, and correct a debug message. --- 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)) {