[gvfs/gdbus-core: 16/17] gdbus: Enable daemon finalization



commit 0acebbe44a672331da500f062bc69b6bb5ea0883
Author: Tomas Bzatek <tbzatek redhat com>
Date:   Thu Apr 19 11:13:08 2012 +0200

    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().

 daemon/main.c |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)
---
diff --git a/daemon/main.c b/daemon/main.c
index e88ccde..119b22e 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)



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]