diff options
author | Lennart Poettering <lennart@poettering.net> | 2010-09-02 23:26:04 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2010-09-02 23:26:04 +0200 |
commit | 5d452f9ceceabf2bf69acb58e69a41fb41011e37 (patch) | |
tree | 22ab468398b186b958c2ec490b02e2b967403c9d /src/cgroups-agent.c | |
parent | 18ffdfda48c327f56cac0aabdc6bada91cc9b7df (diff) |
dbus: make sure to flush bus connection before disconnecting, so that no messages are lost
Diffstat (limited to 'src/cgroups-agent.c')
-rw-r--r-- | src/cgroups-agent.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cgroups-agent.c b/src/cgroups-agent.c index 6f7a857eaf..30aeede943 100644 --- a/src/cgroups-agent.c +++ b/src/cgroups-agent.c @@ -82,6 +82,7 @@ int main(int argc, char *argv[]) { finish: if (bus) { + dbus_connection_flush(bus); dbus_connection_close(bus); dbus_connection_unref(bus); } |