summaryrefslogtreecommitdiff
path: root/daemon/main.c
diff options
context:
space:
mode:
authorTomas Bzatek <tbzatek@redhat.com>2012-04-19 11:13:08 +0200
committerTomas Bzatek <tbzatek@redhat.com>2012-07-31 11:59:36 +0200
commit050f18515a6719574a01b5ca667ad527f1333872 (patch)
treecffab9aead7a4ecb100ca4c6202a802da602a282 /daemon/main.c
parenta2c2c52928cd85fabcb7bf41476400ec4bb43611 (diff)
downloadgvfs-050f18515a6719574a01b5ca667ad527f1333872.tar.gz
gdbus: Enable daemon finalization
The crasher may have been possibly fixed in bug 669211. It's hard to hit the code path as long as gvfsdaemon calls hard exit().
Diffstat (limited to 'daemon/main.c')
-rw-r--r--daemon/main.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/daemon/main.c b/daemon/main.c
index 3a15da46..7d256871 100644
--- a/daemon/main.c
+++ b/daemon/main.c
@@ -201,11 +201,9 @@ main (int argc, char *argv[])
g_main_loop_run (loop);
mount_finalize ();
-#if 0
- /* FIXME: crashing */
+
if (daemon != NULL)
g_object_unref (daemon);
-#endif
if (name_owner_id != 0)
g_bus_unown_name (name_owner_id);
if (loop != NULL)