[gvfs] gvfschannel: don't abort when finalizing
- From: Ondrej Holy <oholy src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gvfs] gvfschannel: don't abort when finalizing
- Date: Thu, 9 Oct 2014 09:18:40 +0000 (UTC)
commit 535a192f3fbba97eb2f2f1fdc2c8909a26a89fdb
Author: Ondrej Holy <oholy redhat com>
Date: Wed Oct 8 16:17:36 2014 +0200
gvfschannel: don't abort when finalizing
Remove g_assert (channel->priv->backend_handle == NULL), because it
could happen when backend is force unmounted.
https://bugzilla.gnome.org/show_bug.cgi?id=737842
daemon/gvfschannel.c | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/daemon/gvfschannel.c b/daemon/gvfschannel.c
index 418fc6d..90b7b5a 100644
--- a/daemon/gvfschannel.c
+++ b/daemon/gvfschannel.c
@@ -145,8 +145,6 @@ g_vfs_channel_finalize (GObject *object)
if (channel->priv->backend)
g_object_unref (channel->priv->backend);
- g_assert (channel->priv->backend_handle == NULL);
-
if (G_OBJECT_CLASS (g_vfs_channel_parent_class)->finalize)
(*G_OBJECT_CLASS (g_vfs_channel_parent_class)->finalize) (object);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]