Skip to content
Commit e1a3c297 authored by Ross Lagerwall's avatar Ross Lagerwall Committed by Ondrej Holy
Browse files

sftp: Don't call g_vfs_backend_force_unmount multiple times

If the remote connection(s) are closed (e.g. the remote host is
rebooted), ensure that g_vfs_backend_force_unmount is only called once.

This avoids a warning like the following:
forced_unregister_mount_callback
forced_unregister_mount_callback

** (process:12472): WARNING **: Error unregistering mount: Mountpoint
not registered (g-io-error-quark, 16)

Additionally, remove some backend member variables.

https://bugzilla.gnome.org/show_bug.cgi?id=753311
parent 46487b40
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment