aboutsummaryrefslogtreecommitdiffstats
path: root/src/zeroconf
diff options
context:
space:
mode:
Diffstat (limited to 'src/zeroconf')
-rw-r--r--src/zeroconf/ZeroconfAvahi.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/zeroconf/ZeroconfAvahi.cxx b/src/zeroconf/ZeroconfAvahi.cxx
index 8cd09cbed..35f3dc9dc 100644
--- a/src/zeroconf/ZeroconfAvahi.cxx
+++ b/src/zeroconf/ZeroconfAvahi.cxx
@@ -34,6 +34,8 @@
#include <avahi-common/malloc.h>
#include <avahi-common/error.h>
+#include <dbus/dbus.h>
+
static constexpr Domain avahi_domain("avahi");
static char *avahiName;
@@ -272,4 +274,6 @@ AvahiDeinit(void)
avahi_free(avahiName);
avahiName = nullptr;
+
+ dbus_shutdown();
}