[gvfs/gdbus-core] gdbus: Enable daemon finalization
- From: Tomas Bzatek <tbzatek src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gvfs/gdbus-core] gdbus: Enable daemon finalization
- Date: Thu, 19 Apr 2012 09:14:38 +0000 (UTC)
commit 233d8e1da70e1f0453c6a0d9bf003c1b2b9b5cad
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]