From 517e8d67eb775abe3abe9249053eb7535385f7a9 Mon Sep 17 00:00:00 2001 From: Olivier Blin Date: Tue, 8 Aug 2006 19:05:46 +0000 Subject: close d-bus connection --- src/mandi_daemon.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/mandi_daemon.c b/src/mandi_daemon.c index df60e4e..f2ce040 100644 --- a/src/mandi_daemon.c +++ b/src/mandi_daemon.c @@ -153,7 +153,8 @@ static void mandi_daemon_exit(mandi_daemon_t *daemon, int exit_code) { plugin = *ptr; plugin->deinit(plugin, daemon->bus); } - /* unregister dbus */ + if (daemon->bus) + dbus_connection_close(daemon->bus); exit(exit_code); } -- cgit v1.2.1