From 56831d1659d7c08a0f1cb7bbc9161e5e9a2a9726 Mon Sep 17 00:00:00 2001 From: Olivier Blin Date: Tue, 4 Mar 2008 15:39:09 +0000 Subject: unref shared dbus connection instead of closing it --- src/mandi_daemon.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mandi_daemon.c b/src/mandi_daemon.c index 222025e..da7136e 100644 --- a/src/mandi_daemon.c +++ b/src/mandi_daemon.c @@ -154,7 +154,7 @@ static void mandi_daemon_exit(mandi_daemon_t *daemon, int exit_code) { plugin->deinit(plugin, daemon->bus); } if (daemon->bus) - dbus_connection_close(daemon->bus); + dbus_connection_unref(daemon->bus); exit(exit_code); } -- cgit v1.2.1