zeroconf/Avahi: move dbus_shutdown() call to the end of Main()

Calling dbus_shutdown() too early will break the "udisks2" neighbor
plugin.
This commit is contained in:
Max Kellermann
2018-06-03 10:37:54 +02:00
parent 32064a23c1
commit adf2d3aff2
3 changed files with 13 additions and 4 deletions
+3
View File
@@ -46,6 +46,7 @@ src_mpd_LDADD = \
$(STORAGE_LIBS) \
$(PLAYLIST_LIBS) \
$(AVAHI_LIBS) \
$(DBUS_LIBS) \
$(LIBWRAP_LDFLAGS) \
$(SQLITE_LIBS) \
$(DECODER_LIBS) \
@@ -67,6 +68,8 @@ src_mpd_LDADD = \
libutil.a \
$(SYSTEMD_DAEMON_LIBS)
src_mpd_CPPFLAGS = $(AM_CPPFLAGS) $(DBUS_CFLAGS)
src_mpd_SOURCES = \
src/Main.cxx src/Main.hxx