remove a call to a non-existent terminate_mqtt function in the clean-up.

This commit is contained in:
Mike Brady
2019-09-10 09:29:21 +01:00
parent d734b7e71d
commit c7a290c36a
+5 -1
View File
@@ -1211,11 +1211,15 @@ void exit_function() {
if (this_is_the_daemon_process) { //this is the daemon that is exiting
#endif
debug(1, "exit function called...");
/*
Actually, there is no terminate_mqtt() function.
#ifdef CONFIG_MQTT
if (config.mqtt_enabled) {
terminate_mqtt();
terminate_mqtt();
}
#endif
*/
#if defined(CONFIG_DBUS_INTERFACE) || defined(CONFIG_MPRIS_INTERFACE)
#ifdef CONFIG_MPRIS_INTERFACE