[gvfs/gdbus-core: 16/49] gdbus: Enable daemon finalization
- From: Tomas Bzatek <tbzatek src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gvfs/gdbus-core: 16/49] gdbus: Enable daemon finalization
- Date: Tue, 31 Jul 2012 10:13:48 +0000 (UTC)
commit 050f18515a6719574a01b5ca667ad527f1333872
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 3a15da4..7d25687 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]