[gvfs] afc: Work-around mounts not disappearing when disconnecting device
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gvfs] afc: Work-around mounts not disappearing when disconnecting device
- Date: Tue, 3 Jun 2014 14:42:49 +0000 (UTC)
commit 28cb50541ffd369cd8f7630575a02c12e1cb42fc
Author: Bastien Nocera <hadess hadess net>
Date: Tue Jun 3 16:40:22 2014 +0200
afc: Work-around mounts not disappearing when disconnecting device
See https://bugzilla.gnome.org/show_bug.cgi?id=708288
daemon/gvfsbackendafc.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/daemon/gvfsbackendafc.c b/daemon/gvfsbackendafc.c
index edaba27..1b219e9 100644
--- a/daemon/gvfsbackendafc.c
+++ b/daemon/gvfsbackendafc.c
@@ -362,7 +362,9 @@ _idevice_event_cb (const idevice_event_t *event, void *user_data)
idevice_event_unsubscribe ();
- g_vfs_backend_force_unmount ((GVfsBackend*)afc_backend);
+ /* TODO: need a cleaner way to force unmount ourselves:
+ * https://bugzilla.gnome.org/show_bug.cgi?id=708288 */
+ exit (1);
}
static gboolean
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]