diff options
author | Ondrej Holy <oholy@redhat.com> | 2014-10-08 16:15:44 +0200 |
---|---|---|
committer | Ondrej Holy <oholy@redhat.com> | 2014-10-09 11:15:35 +0200 |
commit | ace3084150b2d4ac8c6719061365c2bc9baf5edb (patch) | |
tree | b3e1db192781084e629cfbc46474bae2cb6b5335 /daemon/gvfschannel.c | |
parent | 3abf2f64900c8dfb033af748c0aadc0cf61523c5 (diff) | |
download | gvfs-ace3084150b2d4ac8c6719061365c2bc9baf5edb.tar.gz |
gvfschannel: do not call close job if channel is blocked
We don't want to call new jobs when backend is force unmounted.
https://bugzilla.gnome.org/show_bug.cgi?id=737842
Diffstat (limited to 'daemon/gvfschannel.c')
-rw-r--r-- | daemon/gvfschannel.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/daemon/gvfschannel.c b/daemon/gvfschannel.c index 88303d0f..418fc6d9 100644 --- a/daemon/gvfschannel.c +++ b/daemon/gvfschannel.c @@ -270,6 +270,9 @@ g_vfs_channel_connection_closed (GVfsChannel *channel) return; channel->priv->connection_closed = TRUE; + if (g_vfs_backend_get_block_requests (channel->priv->backend)) + return; + if (channel->priv->current_job == NULL && channel->priv->backend_handle != NULL) { |