[gvfs/gdbus-core: 16/29] gdbus: Enable daemon finalization
- From: Tomas Bzatek <tbzatek src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gvfs/gdbus-core: 16/29] gdbus: Enable daemon finalization
- Date: Fri, 20 Jul 2012 14:04:53 +0000 (UTC)
commit d33d1d2a2b82d634ed120f98a5c8ae61e76e276c
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]